File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Audio Captcha Generator
2
+
3
+ ## Description
4
+ This snippet of code will Generate Audio-Captcha (Numbers).
5
+
6
+ ## Requirements
7
+
8
+ ` $ pip install captcha `
9
+
10
+ ## Steps To Execution
11
+ - Fork this repo and navigate to ShortenLinks folder
12
+ - Run this code.py ` $ python code.py `
13
+ - Enter the length of captcha you want (i.e 6)
14
+ - Boom !!! captcha with .mp3 extension will be generate in dir.
15
+ - Enjoy the Audio Captcha Thing !!!!!
16
+
17
+ ## Code Output
Original file line number Diff line number Diff line change
1
+ from captcha .audio import AudioCaptcha
2
+ from random import randint
3
+ audio = AudioCaptcha ()
4
+ num = randint (100000 ,999999 )
5
+ data = audio .generate (str (num ))
6
+ audio .write (str (num ), str (num )+ '.mp3' )
7
+ print (num )
You can’t perform that action at this time.
0 commit comments