360 Secure SkillHub
360 安全技能中心

Thunder Core

Windows 平台专用 Skill,通过 COM 接口(ThunderAgent)驱动已安装的迅雷客户端,提供初始化、添加带自定义请求头的下载任务、提交任务、取消全部任务、查询任务列表和释放资源等方法,并提供一次性下载便捷函数。依赖 pywin32,需在 Windows 上安装迅雷客户端。

分类:自动化
534422530
534422530
热度 25.22
最近更新 2026-06-02 11:51:30

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add 534422530/thunder-core
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
name
thunder-core
description
Windows Thunder download client via COM interface — add, commit, cancel, and manage download tasks programmatically.
version
1.0.0
tags
["download","thunder","xunlei","windows","com","automation"]
category
Automation
os
["windows"]
metadata
{"openclaw":{"requires":{"bins":["python"]},"emoji":"⚡"}}

Thunder Download Core

Control the Thunder (迅雷) download engine on Windows via COM interface. Add download tasks, set custom headers (Referer, User-Agent, Cookie), commit tasks, cancel all, and query task list.

Prerequisites: Windows OS with Thunder client installed. Python packages: pywin32 (pip install pywin32).

Quick Start

from thunder_core import ThunderCore, download

# Quick one-shot download
download("https://example.com/file.zip", "C:\\Downloads\\file.zip")

# Full control
tc = ThunderCore()
if tc.initialize():
    tc.add_task("https://example.com/file.zip", "C:\\Downloads\\file.zip",
                refer_url="https://example.com",
                user_agent="Mozilla/5.0")
    tc.commit_tasks()
    tasks = tc.get_tasks()
    tc.close()

API

ThunderCore

Method Description
initialize() Initialize Thunder COM component
add_task(url, save_path, ...) Add a download task with custom headers
commit_tasks() Submit all queued tasks
add_and_commit(url, save_path, ...) Add task and immediately commit
cancel_all() Cancel all active tasks
get_tasks() Get current task list
close() Release COM resources

Utility

Function Description
download(url, save_path, ...) Convenience: create, add, commit in one call

Notes

  • Windows-only (uses COM interface ThunderAgent.ThunderAgent)
  • Thunder must be installed at default path or custom _install_path
  • Run as administrator if COM registration fails

Source

thunder_core.py (155 lines) in this skill directory.

触发场景

  • 用户说"下载"、"迅雷下载"、"加下载任务"
  • 用户说"迅雷"、"thunder"、"xunlei"
  • 用户说"管理下载"、"查看下载进度"

B站学习

学习时间: 2026-06-01 20:58

  • 大明子1014: 【大明子】地心护核者CORE KEEPER 第四BOSS天空泰坦埃齐欧斯讨伐攻略!!!【手残党福音】
    • 关键词: 大明子, 地心护核者CORE, KEEPER, 第四BOSS天空泰坦埃齐欧斯讨伐攻略, 手残党福音
  • AhiruMochi: 【搬運】DJ Myosuke - Joe Thunder 原版MV
    • 关键词: 搬運, DJ, Myosuke, Joe, Thunder

B站学习

学习时间: 2026-06-01 21:02

  • 大明子1014: 【大明子】地心护核者CORE KEEPER 第四BOSS天空泰坦埃齐欧斯讨伐攻略!!!【手残党福音】
  • AhiruMochi: 【搬運】DJ Myosuke - Joe Thunder 原版MV
  • 台绒-_-: Dream-Core&连接 实机预告

B站学习 (第1轮)

学习时间: 2026-06-02 09:22

B站学习 (第2轮)

学习时间: 2026-06-02 09:35