def setProxy(self, host, type='http'):
"""
Set the proxy for all requests to use.
@type type: C{string}
@see: U{The Python Docs<http://docs.python.org/library/urllib2.html#
urllib2.Request.set_proxy>}
"""
self.proxy_args = (host, type)
评论列表
文章目录