Fetching a .onion domain with requests
问题 I'm trying to access the following domain nzxj65x32vh2fkhk.onion using requests. I have tor running and I configured the session's object proxies correctly. import requests session = requests.session() session.proxies = {'http': 'socks5://localhost:9050', 'https': 'socks5://localhost:9050'} print(session.get('http://httpbin.org/ip').text) # prints {"origin": "67.205.146.164" } print(requests.get('http://httpbin.org/ip').text) # prints {"origin": "5.102.254.76" } However when I try to access