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)