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" index a16ce46dcf90b035fe1b7a9d7069825a22c80b25..be9467305e488daf3e8202a8a15f9624936908c2 100644 --- "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" @@ -1,9 +1,9 @@ -import requests +######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 +######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