New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements a Proxy Integration #128

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@Bart1909

Bart1909 commented Apr 27, 2018

Now, you can use HTTP or SOCKS5 proxies with this bot.
In config.yaml under telegram add the two following lines:
http_proxy: http://user:pass@proxy.com:3128
https_proxy: http://user:pass@proxy.com:3128

If you are using SOCKS5 proxy, the lines looks like this:
http_proxy: socks5://user:pass@proxy.com:3128
https_proxy: socks5://user:pass@proxy.com:3128

Maybe you have to run the following line to install socks-compability:
pip install requests[socks]

Implements a Proxy Integration
Now, you can use HTTP or SOCKS5 proxies with this bot. 
In config.yaml under telegram add the two following lines:
http_proxy: http://user:pass@proxy.com:3128
https_proxy: http://user:pass@proxy.com:3128

If you are using SOCKS5 proxy, the lines looks like this:
http_proxy: socks5://user:pass@proxy.com:3128
https_proxy: socks5://user:pass@proxy.com:3128

Maybe you have to run the following line to install socks-compability:
pip install requests[socks]

@Bart1909 Bart1909 referenced this pull request Apr 27, 2018

Open

socks5 proxy #126

@StrannikZet

This comment has been minimized.

StrannikZet commented May 18, 2018

2018-05-17_17-01-28
The provider blocks DNS requests or substitutes. Wrap the DNS in a proxy or Tor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment