Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38746
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-02-12 04:48 -0800 |
| Message-ID | <fe3b196c-eb40-4f52-9aa1-cfc91f7f99c3@googlegroups.com> (permalink) |
| Subject | how to add socks proxy feature to script based on requests module? |
| From | xliiv <tymoteusz.jankowski@gmail.com> |
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/8482896/making-http-requests-via-python-requests-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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
how to add socks proxy feature to script based on requests module? xliiv <tymoteusz.jankowski@gmail.com> - 2013-02-12 04:48 -0800
csiph-web