Skip to content
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
Choose a base branch
from

Commits on Apr 27, 2018

  1. 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:[email protected]:3128
    https_proxy: http://user:[email protected]:3128
    
    If you are using SOCKS5 proxy, the lines looks like this:
    http_proxy: socks5://user:[email protected]:3128
    https_proxy: socks5://user:[email protected]:3128
    
    Maybe you have to run the following line to install socks-compability:
    pip install requests[socks]
    Bart1909 authored Apr 27, 2018
    Configuration menu
    Copy the full SHA
    b76d6b7 View commit details
    Browse the repository at this point in the history