-
Notifications
You must be signed in to change notification settings - Fork 29
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
Proxy. #14
Comments
You know, there are too much work for the refactoring, I don't know how to make it correctly and not to break an existing api.
then you can create an instance like this (anyway i didn't test it): # use the docs to configure it [properly ](https://docs.python-requests.org/en/master/user/advanced/#proxies)
proxies = {
'http': 'http://10.10.1.10:3128',
'https': 'http://10.10.1.10:1080',
}
r = requests.Session()
r.proxies.update(proxies)
t = TelegraphPoster(use_api=True, request=r) |
I tried it, but it doesn't work for me. |
Hello.
Could you add the ability to work through a proxy?
Best regards.
The text was updated successfully, but these errors were encountered: