Error Tor AssertionError: Not supported proxy scheme socks5h

2

I was making a request with tor

import requests
proxies = {"http":"socks5h://locahost:9050","https":"socks5h://localhost:9050"} 
r = requests.get("http://httpbin.org/ip",proxies=proxies).content
print r

When executed, the error appears

AssertionError: Not supported proxy scheme socks5h
    
asked by ellipsys 30.12.2018 в 00:16
source

0 answers