摘要:2.设置超时时间 如果代理需要账户和密码,则需这样: proxies = { "http": "http://user:pass@10.10.1.10:3128/", } 还可以显式地设置文件名: >>> url = 'http://httpbin.org/post' >>> files = {'f
阅读全文
随笔分类 - python爬虫
摘要:2.设置超时时间 如果代理需要账户和密码,则需这样: proxies = { "http": "http://user:pass@10.10.1.10:3128/", } 还可以显式地设置文件名: >>> url = 'http://httpbin.org/post' >>> files = {'f
阅读全文
|