Proxy chain in python, socks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kompexecutor
    New Member
    • Feb 2012
    • 1

    Proxy chain in python, socks

    Hi, I am looking for way of building proxy chain in python and found not much information i.e:

    Code:
    import urllib2
    import socks
    socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS4, 'proxie', port)
    socks.wrapmodule(urllib2)
    yy = urllib2.urlopen('http://www.yahoo.com').read()
    is showing "URLError: <urlopen error [Errno 10054] >" error

    Please anyone write link, or some information how to build proxy chain in python.

    Regards,
    Ihor
Working...