G
G
George1232020-12-09 17:59:55
Python
George123, 2020-12-09 17:59:55

Bypass TOR routing in Python request?

Good day to all !
Raised on windows tor-router
When I prescribe in the proxy settings 127.0.0.1:9080 , all traffic goes through the tor
When I turn on the "Detect parameters automatically" item, the traffic goes through my external ip

Now on Ubuntu 20.04

It also costs tor-router

How can I do it so that the traffic passes without hitting the torus in the request module? what should I specify in the proxy script fields?
I tried that but it didn't work :(

proxies = {
             "http": "http://мой внешний ip ",
             "https": "http://мой внешний ip ",
            }

            page = requests.get(url, proxies = proxies)

            print(page.text)


Thank you in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valdemar Smorman, 2020-12-09
@smorman

Isn't it easier to install utilities: socat and tor and play with the settings?
We, in Pana Pepsika-Kyiv Proxy, in view of the Garbage's departure to the Tor network, just use this option to open ace.json links and everything is arbitten gut!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question