发布时间:2019-08-13 07:35:02编辑:auto阅读(1876)
def test3(): url = "http://www.ip.cn" proxy_handler = urllib2.ProxyHandler({'http' : 'http://username:password@host:port'}) opener = urllib2.build_opener(proxy_handler); urllib2.install_opener(opener) conn = urllib2.urlopen(url) print conn.read()
上一篇: python元字典
下一篇: python操作Mysql实例
51009
50389
41001
37870
32334
29229
28111
22943
22909
21239
1103°
1794°
1462°
1403°
1680°
1483°
2147°
3707°
3645°
2558°