How to get HTTPS content using Python Requests through TOR and Privoxy
问题 I have TOR setup on my system with Privoxy that has been tested and works well. What I am trying to do is proxy HTTPS requests through this setup, so that these GET and POSTs come through TOR. Below is the simplest version of the code I could produce: import requests proxy = { 'http':'127.0.0.1:8118','https':'127.0.0.1:8118' } r = requests.get('https://www.whatismyip.com/',proxies=proxy) #r = requests.get('http://www.whatsmyip.org/') print r When using HTTPS, I do not get the response body (r