From 545f11d523ffe57f6ecb1da0d320568bab48b7fb Mon Sep 17 00:00:00 2001 From: Evil0ctal Date: Thu, 23 Jun 2022 15:48:38 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=E6=B7=BB=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E5=8F=AF=E4=BE=9BScraper.py=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=90=86=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config.ini b/config.ini index 2fe0213..96e5bbf 100644 --- a/config.ini +++ b/config.ini @@ -1,3 +1,15 @@ +[Scraper] +# 是否使用代理(如果部署在IP受限国家需要开启默认为False关闭,请自行收集代理,下面代理仅作为示例不保证可用性) +Proxy_switch = False +# 是否根据不同协议(http/https)使用不同代理,设置为True时修改Http_proxy/Https_proxy这两个变量的值 +Use_different_protocols = False +# http/https协议都使用以下代理(Use_different_protocols为False时生效) +All = 45.167.124.5:9992 +# http协议使用以下代理(Use_different_protocols为True时生效) +Http_proxy = http://45.167.124.5:9992 +# https协议使用以下代理(Use_different_protocols为True时生效) +Https_proxy = https://45.167.124.5:9992 + [Web_API] # API默认运行端口 Port = 2333