Skip to content

Commit 798d706

Browse files
committed
captcha
1 parent 123f8d8 commit 798d706

1,002 files changed

Lines changed: 1128 additions & 90 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/workspace.xml

Lines changed: 1120 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

验证码识别/get_captcha.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import requests
2+
import time
3+
4+
for i in range(1, 1001):
5+
with open('img\\{}.png'.format(i), 'wb') as f:
6+
time.sleep(0.1)
7+
f.write(requests.get('http://my.hlju.edu.cn/captchaGenerate.portal').content)
8+
print('成功获取一张验证码')

验证码识别/img/1.png

4.61 KB

验证码识别/img/10.png

4.28 KB

验证码识别/img/100.png

4.53 KB

验证码识别/img/1000.png

4.26 KB

验证码识别/img/101.png

4.34 KB

验证码识别/img/102.png

4.2 KB

验证码识别/img/103.png

3.82 KB

验证码识别/img/104.png

5.14 KB

0 commit comments

Comments
 (0)