mirror of
https://github.com/Evil0ctal/Douyin_TikTok_Download_API.git
synced 2025-04-21 23:55:23 +08:00
Update config.ini
This commit is contained in:
parent
3a4c7baefd
commit
59afdddf55
17
config.ini
17
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关闭,请自行收集代理,下面代理仅作为示例不保证可用性)
|
# 是否使用代理(如果部署在IP受限国家需要开启默认为False关闭,请自行收集代理,下面代理仅作为示例不保证可用性)
|
||||||
Proxy_switch = False
|
Proxy_switch = False
|
||||||
# 是否根据不同协议(http/https)使用不同代理,设置为True时修改Http_proxy/Https_proxy这两个变量的值
|
# 是否根据不同协议(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协议使用以下代理(Use_different_protocols为True时生效)
|
||||||
Https_proxy = https://45.167.124.5:9992
|
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 (末尾不要留斜杠)
|
# API链接 如:http://127.0.0.1:2333 或 http://api.douyin.wtf (末尾不要留斜杠)
|
||||||
URL = http://api.douyin.wtf
|
Domain = http://api.douyin.wtf
|
||||||
# API默认运行端口
|
# API默认运行端口
|
||||||
Port = 2333
|
Port = 80
|
||||||
# 是否启用API的/video功能
|
# 是否启用API的/video功能
|
||||||
Video_Download = True
|
Video_Download = True
|
||||||
# 是否启用API的/music功能
|
# 是否启用API的/music功能
|
||||||
@ -34,7 +41,7 @@ iOS_Shortcut_Update_Note = 增加了错误检测以及反馈/Added error detecti
|
|||||||
# iOS shortcut update note
|
# iOS shortcut update note
|
||||||
iOS_Shortcut_Update_Note_EN = Added error detection and feedback/增加了错误检测以及反馈
|
iOS_Shortcut_Update_Note_EN = Added error detection and feedback/增加了错误检测以及反馈
|
||||||
|
|
||||||
[Web_ZH]
|
[Web_ZH] # web_app.py
|
||||||
# 网页默认运行端口
|
# 网页默认运行端口
|
||||||
Port = 5000
|
Port = 5000
|
||||||
# PyWebIO是否使用CDN来获取前端的静态资源(防止CDN被墙导致无法正常显示)
|
# PyWebIO是否使用CDN来获取前端的静态资源(防止CDN被墙导致无法正常显示)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user