chore: sync current WechatHookBot workspace
This commit is contained in:
46
plugins/VideoParser/config.toml
Normal file
46
plugins/VideoParser/config.toml
Normal file
@@ -0,0 +1,46 @@
|
||||
# 短视频解析插件配置
|
||||
|
||||
[plugin]
|
||||
enabled = true
|
||||
name = "VideoParser"
|
||||
description = "自动解析短视频链接并发送卡片"
|
||||
|
||||
[api]
|
||||
# API 配置
|
||||
url = "https://dy.zoomcaronline.net/api/douyin/web/fetch_one_video"
|
||||
key = "" # 自部署接口不需要 key
|
||||
timeout = 360 # 请求超时时间(秒)
|
||||
method = "GET" # 请求方法: GET 或 POST
|
||||
get_aweme_id_url = "https://dy.zoomcaronline.net/api/douyin/web/get_aweme_id" # 提取视频ID的接口
|
||||
hybrid_url = "https://dy.zoomcaronline.net/api/hybrid/video_data" # 单条视频数据解析(抖音/ TikTok)
|
||||
|
||||
[behavior]
|
||||
# 是否启用自动解析
|
||||
enabled = true
|
||||
# 启用解析的群聊列表(为空则对所有群生效)
|
||||
enabled_groups = []
|
||||
# 禁用解析的群聊列表
|
||||
disabled_groups = []
|
||||
# 是否在私聊中启用
|
||||
enable_private = true
|
||||
|
||||
[card]
|
||||
# 链接卡片默认配置(当 API 返回字段为空时使用)
|
||||
default_title = "短视频解析失败"
|
||||
default_desc = "视频解析失败"
|
||||
default_url = "https://www.functen.cn"
|
||||
default_image_url = "https://wx.qlogo.cn/mmhead/ver_1/nTGmIBTib3VCAWibaTpx1k5wbvIUhmggw7bDNgEUcurmuvV4xOG9zny7gIOyLFO60r32rvlTVOic7yMsnaF6ibjCCIuhWRjZ0uBQUJNflfthWWI/0"
|
||||
|
||||
[proxy]
|
||||
# 代理配置(使用 AIChat 的 SOCKS5 代理)
|
||||
enabled = false
|
||||
type = "socks5"
|
||||
host = "38.55.107.103"
|
||||
port = 53054
|
||||
|
||||
[download]
|
||||
# 视频下载配置
|
||||
enabled = true
|
||||
download_api_url = "https://dy.zoomcaronline.net/api/download"
|
||||
timeout = 600
|
||||
temp_dir = "temp/videos"
|
||||
Reference in New Issue
Block a user