Files
abot/plugins/douyin_parser/config.toml
Liu 6e0483a49e 抖音解析改为本地页面优先
1. 参考外部 DouyinParser 项目,新增基于分享页 HTML 和 _ROUTER_DATA 的本地解析链路。
2. 抖音解析现在按本地页面解析 -> 原内网接口 -> 原外部接口的顺序依次兜底。
3. 放宽链接匹配范围到 douyin.com / iesdouyin.com,并新增本地解析超时配置项。
2026-05-01 11:49:46 +08:00

17 lines
665 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Douyin]
enable = true
# 发送模式: card(发送卡片) 或 file(下载并发送文件)
download_mode = "card"
# 本地页面解析超时(秒):
# 1. 现在抖音解析会优先直接请求分享页并从 HTML 中提取作品数据;
# 2. 如果本地网络偶尔较慢,可以适当调大这个值;
# 3. 本地解析超时或失败后,插件仍会继续走原来的内网接口和外部接口兜底。
local_parse_timeout_seconds = 12
# Http代理设置用于获取真实链接发送卡片如果家里有ipv6可以设置为空
# 格式: http://用户名:密码@代理地址:代理端口
# 例如http://127.0.0.1:7890
http_proxy = ""