From 3e04df7080899c889bf05b411135e8c57ea40a43 Mon Sep 17 00:00:00 2001 From: FrankWang Date: Wed, 28 Jun 2017 18:01:07 +0800 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 369e98f..48b6e1c 100644 --- a/README.md +++ b/README.md @@ -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