how to add socks proxy feature to script based on requests module?

Discussion in 'Python' started by xliiv, Feb 12, 2013.

  1. xliiv

    xliiv Guest

    Hi!

    I've go a script which uses python requests (http://docs.python-requests.org/en/latest/).

    I need to add to it socks proxy feature.

    AFAIK requests doesn't support socks proxy (http://stackoverflow.com/questions/12601316/how-to-make-python-requests-work-via-socks-proxy) so i was about to switch requests module to human_curl (http://stackoverflow.com/questions/...uests-module-not-working-via-proxy-where-curl).
    Then it turned out that human_curl doesn't support "requests module's" session.

    Ok, what can You recommend me to do? I need the best solution for adding socks proxy feature to script (based on requests module).

    if nothing better is recommended i'll clone "requests' module" session feature in human_curl.
     
    xliiv, Feb 12, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin

    Socks proxy library

    Kevin, Dec 13, 2003, in forum: Java
    Replies:
    0
    Views:
    1,084
    Kevin
    Dec 13, 2003
  2. Chorg
    Replies:
    1
    Views:
    1,473
    A Baba
    Dec 13, 2003
  3. vidy5300
    Replies:
    0
    Views:
    899
    vidy5300
    Jun 7, 2004
  4. Barney
    Replies:
    1
    Views:
    2,057
    jainjani
    Jul 25, 2006
  5. SOCKS proxy in Python?

    , Nov 2, 2005, in forum: Python
    Replies:
    0
    Views:
    1,014
Loading...

Share This Page