From 5f557b8737de3373af800ea95cadcb357722a142 Mon Sep 17 00:00:00 2001 From: Jixq Date: Fri, 29 May 2020 14:56:18 +0800 Subject: [PATCH] =?UTF-8?q?add=20python-=E6=97=A0=E7=A9=B7=E6=97=A0?= =?UTF-8?q?=E5=B0=BD=E5=A5=BD=E7=9C=8B=E7=9A=84=E5=9B=BE=E7=89=87.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...5\347\234\213\347\232\204\345\233\276\347\211\207.md" | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 "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" 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 0000000..a16ce46 --- /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 -- Gitee