Open isthisme opened 6 years ago
Hi! Could you please explain what you would need in order to connect via Tor? Is it just a matter of replacing "www.reddit.com" with an onion URL, or is it more involved than that? Do you know of any other programs that do this that can be used as references?
You need to be able to support socks5 proxies instead of just http, that is all. Tor usually listens on 127.0.0.1:9050. It is probably something that should be fixed in PRAW.
In that case, you might be able to take advantage of what's described here: https://www.reddit.com/r/redditdev/comments/5s5wcq/how_do_i_point_praw_use_a_socks_proxy_for_now_i/
To summarize, if you installed RTV through pip, you would need to run
$ pip install requests[socks]
and then set an environment variable when launching rtv
$ HTTPS_PROXY="socks5://user:pass@host:port" rtv
I would like to use rtv to browse Reddit but I'd also like to connect via Tor. Can you add this as an option?