Update README.md

This commit is contained in:
FrankWang 2017-06-28 18:01:07 +08:00 committed by GitHub
parent 6af3067a12
commit 3e04df7080
1 changed files with 10 additions and 0 deletions

View File

@ -503,6 +503,16 @@ from telebot import apihelper
apihelper.proxy = {'http', 'http://10.10.1.10:3128'}
```
If you want to use socket5 proxy you need install dependency `pip install requests[socks]`.
```python
proxies = {
'http': 'socks5://user:pass@host:port',
'https': 'socks5://user:pass@host:port'
}
```
## F.A.Q.
### Bot 2.0