scottstamp / PokemonGo-Map

Reuploaded from AHAAAAAAA/PokemonGo-Map with latest fixes
GNU Affero General Public License v3.0
24 stars 23 forks source link

Add proxy(tor) support #22

Open CtrlAltDefeat94 opened 8 years ago

CtrlAltDefeat94 commented 8 years ago

As most of the cloud server providers are banned from accessing the API, I think it'd be a good idea to add proxy support(such as Tor). That way, we can still use our servers for scanning for pokemon.

Azryyal commented 8 years ago

Use https://forwardhq.com/

onlyby commented 8 years ago

Proxy will be better, how we can add a proxy to this app?

cdhowie commented 8 years ago

This is something that is already supported by the Python library that makes the HTTPS requests. Just set the https_proxy environment variable and point it at an HTTP->SOCKS proxy like Privoxy that's pointed at the Tor SOCKS proxy.

On *nix systems, you can also use the tsocks utility directly with Tor, without the need for an HTTP->SOCKS intermediate proxy. It is packaged for many Linux distributions.