From df1ef7476bc17b20b7509a4052b17993c7fdbb68 Mon Sep 17 00:00:00 2001 From: JLUVicent <17390955615@163.com> Date: Thu, 16 Sep 2021 10:02:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=AD=A3=E7=A1=AE=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "15_urllib_\344\273\243\347\220\206.py" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/15_urllib_\344\273\243\347\220\206.py" "b/15_urllib_\344\273\243\347\220\206.py" index 5f212e9..0d86be2 100644 --- "a/15_urllib_\344\273\243\347\220\206.py" +++ "b/15_urllib_\344\273\243\347\220\206.py" @@ -15,7 +15,7 @@ # 这个代理不太好使,得买代理 proxies = { - 'http': '117.88.246.51:3000' + 'http': '116.22.29.155:4245' } # ProxyHandler中是一个以字典形式存在的代理ip @@ -29,5 +29,5 @@ # print(content) # 保存 -with open('daili.html', 'w', encoding='utf-8') as fp: +with open('urllibdaili.html', 'w', encoding='utf-8') as fp: fp.write(content)