From 59afdddf557fa9384c50f6cfafd6b127514cc69c Mon Sep 17 00:00:00 2001 From: Evil0ctal Date: Fri, 4 Nov 2022 04:22:35 -0700 Subject: [PATCH] Update config.ini --- config.ini | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/config.ini b/config.ini index 581e20d..f08bfd7 100644 --- a/config.ini +++ b/config.ini @@ -1,4 +1,11 @@ -[Scraper] +# -*- encoding: utf-8 -*- +# @Author: https://github.com/Evil0ctal/ +# @Time: 2021/11/06 +# @Update: 2022/10/31 +# @Function: +# 项目的配置文件/Config file of the project + +[Scraper] # scraper.py # 是否使用代理(如果部署在IP受限国家需要开启默认为False关闭,请自行收集代理,下面代理仅作为示例不保证可用性) Proxy_switch = False # 是否根据不同协议(http/https)使用不同代理,设置为True时修改Http_proxy/Https_proxy这两个变量的值 @@ -10,11 +17,11 @@ Http_proxy = http://45.167.124.5:9992 # https协议使用以下代理(Use_different_protocols为True时生效) Https_proxy = https://45.167.124.5:9992 -[Web_API] +[Web_API] # web_api.py # API链接 如:http://127.0.0.1:2333 或 http://api.douyin.wtf (末尾不要留斜杠) -URL = http://api.douyin.wtf +Domain = http://api.douyin.wtf # API默认运行端口 -Port = 2333 +Port = 80 # 是否启用API的/video功能 Video_Download = True # 是否启用API的/music功能 @@ -34,7 +41,7 @@ iOS_Shortcut_Update_Note = 增加了错误检测以及反馈/Added error detecti # iOS shortcut update note iOS_Shortcut_Update_Note_EN = Added error detection and feedback/增加了错误检测以及反馈 -[Web_ZH] +[Web_ZH] # web_app.py # 网页默认运行端口 Port = 5000 # PyWebIO是否使用CDN来获取前端的静态资源(防止CDN被墙导致无法正常显示)