Skip to content

Commit 28111bd

Browse files
authored
Merge pull request eternnoir#494 from LeoNeeDpk1/patch-1
Update README.md SOCKS5 proxy info
2 parents 373d4d3 + 10ec897 commit 28111bd

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,13 +503,10 @@ from telebot import apihelper
503503
apihelper.proxy = {'http', 'http://10.10.1.10:3128'}
504504
```
505505

506-
If you want to use socket5 proxy you need install dependency `pip install requests[socks]`.
506+
If you want to use socket5 proxy you need install dependency `pip install requests[socks]` and make sure, that you have the latest version of `gunicorn`, `PySocks`, `pyTelegramBotAPI`, `requests` and `urllib3`.
507507

508508
```python
509-
proxies = {
510-
'http': 'socks5://user:pass@host:port',
511-
'https': 'socks5://user:pass@host:port'
512-
}
509+
apihelper.proxy = {'https', ' 'socks5://userproxy:password@proxy_address:port''}
513510
```
514511

515512

0 commit comments

Comments
 (0)