Update config.ini

This commit is contained in:
Evil0ctal 2022-11-04 04:22:35 -07:00 committed by GitHub
parent 3a4c7baefd
commit 59afdddf55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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被墙导致无法正常显示)