Comments (4)
Hi! I've tested pyrogram@proxy. Everything works good. Thanks a lot!
from pyrogram.
Hi there! I'm not quite experienced with proxies, but will have a look at PySocks and how to set it up correctly. I will keep this issue open for further updates and for everyone else who want to participate.
from pyrogram.
thanks for your reply! for a temporally solution used redsocks plus iptables on my Ubuntu. works fine so far.
from pyrogram.
Hi! I've added SOCKS5 proxy support. Changes are not merged into master yet, but you can test by upgrading Pyrogram using:
pip install --upgrade git+https://github.com/pyrogram/pyrogram@proxy
Then you must append the following to your config.ini
file:
[proxy]
enabled = True
hostname = 123.234.123.234
port = 443
username = <your_username>
password = <your_password>
You can omit username and password if your proxy doesn't require authorization.
Let me know if something doesn't work as expected.
from pyrogram.
Related Issues (20)
- Document download problem
- [PROPOSAL] Pass the project to someone else HOT 3
- Message not received from a certain telegram channel HOT 23
- Can't send media due to 401(AuthKeyUnregistered) error HOT 1
- Clarification related to how it upload more than 50mb? HOT 3
- key error 0 HOT 3
- Add support for bots to be able to react to messages HOT 1
- Pyrogram freezes & fails to further execute HOT 4
- I can't use pyrogram as pytest.fixture
- my code stopped working , maybe some telegram api changed? HOT 5
- entites in the send_poll HOT 1
- IT WOULD BE BETTER TO FAIL Client.start IF PROXY IS FAILED TO CONNECT ONCE INSTEAD OF INFINITELY TRYING TO CONNECT TO IT
- search Public channel & search Public hashtag HOT 2
- Get similar channels implementation for raw usage HOT 1
- "messages.GetMessagesViews" Always Returns Error HOT 1
- blockquote not worked HOT 2
- Incorrect Method Name in Documentation for get_chat_history_count HOT 1
- Unable to Access Private Channels Using Channel ID in Pyrogram HOT 2
- Message effect id
- Managing connection lost exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrogram.