Tdl Download Notify

TDL下载完成后通过Server酱发送微信通知,含文件名与大小信息。

已扫描
适合谁
需要监控Telegram资源下载状态的用户、希望自动化获取下载结果通知的开发者
不适合谁
无需微信通知提醒的用户、无法访问Server酱服务的用户
国内可用性
需网络配置。可能需要网络配置或第三方服务可访问。
安装难度
新手友好(★☆☆)。基于终端操作、依赖、API Key 和本地环境要求的初步判断。

安装与下载

openclaw skills install @tang2606/tdl-download-notify

Skill 说明

命令、参数、文件名以原文为准

TDL 下载 + Server 酱通知

下载 Telegram 资源后自动通过 Server 酱发送微信通知,包含详细的文件信息。

配置

前置条件

  1. TDL 已安装并登录
   tdl --version
   tdl login
  1. Server 酱已配置

- SendKey: sctp6765tcomfljakjcquc4e7mdaman

- 微信已关注 Server 酱公众号

默认下载目录

/root/tdl_download

可通过参数自定义。

使用方法

方式 1:命令行调用

# 基本用法
python3 /root/openclaw/Data/OpenClaw/skills/tdl-download-notify/tdl_download_notify.py <chat_id> <message_id>

# 指定下载目录
python3 .../tdl_download_notify.py 1340124720 126326 /root/downloads

# 示例:下载 Telegram 频道的某个消息
python3 tdl_download_notify.py 1340124720 126326

方式 2:在 OpenClaw 中使用

直接告诉我:

"下载这个 Telegram 链接并通知我:https://t.me/c/1340124720/126326"

我会自动执行下载并发送微信通知。

通知内容

✅ 下载成功

✅ 下载完成

📥 来源:https://t.me/c/1340124720/126326
📁 目录:/root/tdl_download
📊 数量:2 个文件
💾 总大小:1.23 GB

文件列表:

📄 视频文件.mp4
   大小:800.50 MB
   时间:2026-03-18 00:15:30

📄 图片.jpg
   大小:2.35 MB
   时间:2026-03-18 00:15:32

⏱️ 耗时:2 分 15 秒
🕐 完成时间:2026-03-18 00:15:32

❌ 下载失败

❌ 下载失败

📥 来源:https://t.me/c/1340124720/126326
❌ 错误:message not found

⏱️ 耗时:0 分 5 秒
🕐 失败时间:2026-03-18 00:15:32

参数说明

参数类型必填说明
chat_idstringTelegram 聊天 ID
message_idstringTelegram 消息 ID
output_dirstring下载目录(默认:/root/tdl_download)

功能特性

自动通知 - 下载完成后自动发送微信

文件信息 - 包含文件名、大小、修改时间

多文件支持 - 自动检测所有新下载的文件

失败通知 - 下载失败也会通知

耗时统计 - 显示下载耗时

智能检测 - 自动对比下载前后的文件列表

相关文件

  • 脚本路径: /root/openclaw/Data/OpenClaw/skills/tdl-download-notify/tdl_download_notify.py
  • Server 酱配置: /root/openclaw/Data/OpenClaw/skills/serverchan/serverchan.py
  • 默认下载目录: /root/tdl_download

相关链接

  • [TDL 官方文档](https://github.com/iyear/tdl)
  • [Server 酱官网](https://sct.ftqq.com/)
T
@tang2606

已收录 1 个 Skill

相关推荐