🔧添加了可供Scraper.py使用的代理设置

This commit is contained in:
Evil0ctal 2022-06-23 15:48:38 -07:00 committed by GitHub
parent 95491b3118
commit 545f11d523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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