Skip to content

Commit 989cae5

Browse files
authored
Update README.md
1 parent 28111bd commit 989cae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,13 +500,13 @@ You can use proxy for request. `apihelper.proxy` object will use by call `reques
500500
```python
501501
from telebot import apihelper
502502

503-
apihelper.proxy = {'http', 'http://10.10.1.10:3128'}
503+
apihelper.proxy = {'http':'http://10.10.1.10:3128'}
504504
```
505505

506506
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-
apihelper.proxy = {'https', ' 'socks5://userproxy:password@proxy_address:port''}
509+
apihelper.proxy = {'https':'socks5://userproxy:password@proxy_address:port'}
510510
```
511511

512512

0 commit comments

Comments
 (0)