diff --git "a/python-\346\227\240\347\251\267\346\227\240\345\260\275\345\245\275\347\234\213\347\232\204\345\233\276\347\211\207.md" "b/python-\346\227\240\347\251\267\346\227\240\345\260\275\345\245\275\347\234\213\347\232\204\345\233\276\347\211\207.md" new file mode 100644 index 0000000000000000000000000000000000000000..a16ce46dcf90b035fe1b7a9d7069825a22c80b25 --- /dev/null +++ "b/python-\346\227\240\347\251\267\346\227\240\345\260\275\345\245\275\347\234\213\347\232\204\345\233\276\347\211\207.md" @@ -0,0 +1,9 @@ +import requests + +def spider(): + url = "https://api.srv.jpush.cn/v1/captcha/1590656574719/?type=login&uuid=a0bb776c-4374-463f-bf1f-a1a4b395b982" + for i in range(1, 501): + print("正在下载的张数是:",i) + with open("1/{}.png".format(i), "wb") as f: + f.write(requests.get(url).content) +spider() \ No newline at end of file