Is there a way to use sock5 proxy to use TOR with requests? I know that requests only use http proxy...
import requests r = requests.get(\'http://www.google.com\
I think at the moment requests works with socks5 out of the box.
requests
import requests url = 'https://example.com' proxies = {'http': 'socks5://127.0.0.1:9150', 'https': 'socks5://127.0.0.1:9150'} r = requests.get(url, proxies=proxies)