From 989cae597b58bd06643d6467fbebca4f6b5f2c05 Mon Sep 17 00:00:00 2001 From: Jay-T Date: Wed, 18 Apr 2018 13:10:22 +0500 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 408b6be..2ea415f 100644 --- a/README.md +++ b/README.md @@ -500,13 +500,13 @@ You can use proxy for request. `apihelper.proxy` object will use by call `reques ```python from telebot import apihelper -apihelper.proxy = {'http', 'http://10.10.1.10:3128'} +apihelper.proxy = {'http':'http://10.10.1.10:3128'} ``` 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`. ```python -apihelper.proxy = {'https', ' 'socks5://userproxy:password@proxy_address:port''} +apihelper.proxy = {'https':'socks5://userproxy:password@proxy_address:port'} ```