Files
abot/plugins/douyin_parser/config.toml
liuwei bb8894097e 抖音解析新增Cookie配置并接入本地后备提取链路
变更项:

- 配置文件新增 cookie 与 cookie_file 两个参数,支持账号态提取

- 解析请求与媒资下载统一接入请求头构建,按配置自动注入 Cookie

- yt-dlp Python/命令行两种后备提取方式均支持 Cookie 注入

- Cookie 注入策略为 cookie_file 优先、cookie 次之,提升受限场景下无水印链接提取成功率
2026-04-23 15:34:12 +08:00

24 lines
831 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"
# Http代理设置用于获取真实链接发送卡片如果家里有ipv6可以设置为空
# 格式: http://用户名:密码@代理地址:代理端口
# 例如http://127.0.0.1:7890
http_proxy = ""
# 抖音Cookie可选建议配置提升本地提取命中率与稳定性
# 说明:
# 1. 可直接粘贴浏览器请求头中的完整 Cookie 字符串;
# 2. 当接口解析失败进入本地后备提取时,会携带该 Cookie。
cookie = ""
# 抖音Cookie文件路径可选
# 说明:
# 1. 仅用于本地后备提取yt-dlp
# 2. 若同时配置 cookie 与 cookie_file优先使用 cookie_file。
# 例如D:/learn/abot/resource/douyin_cookies.txt
cookie_file = ""