← 返回 Skills 市场
zitao666

Forum Downloader

作者 zitao666 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
120
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install forum-downloader
功能描述
从论坛帖子批量下载图片/视频到指定目录。支持需要代理访问的论坛(如 hjd2048),自动提取页面标题创建文件夹,PowerShell 脚本,UTF-8 BOM 编码。
使用说明 (SKILL.md)

Forum Downloader

从论坛帖子批量下载图片或视频,保存到用户指定目录。

适用场景

  • hjd2048、2048 等需要代理访问的论坛
  • 帖子内含多张图片或附件视频
  • 自动用页面标题创建文件夹

使用方式

提供论坛帖子 URL,我会自动:

  1. 通过代理获取页面内容
  2. 用 GBK/GB2312 编码正确提取标题
  3. 在用户指定目录下创建 {标题} 文件夹
  4. 解析页面中的图片/附件 URL
  5. 用 PowerShell WebClient 下载全部文件

技术细节

  • 下载方式System.Net.WebClient + WebProxy
  • 脚本编码:UTF-8 with BOM(解决 PowerShell 中文路径变量问题)
  • 编码处理:论坛页面用 GBK 编码读取
  • 代理地址:从用户处获取(不硬编码)

示例

用户说 "下载到 D:\图片,使用 XXX 端口的代理":

  1. 创建目录:D:\图片\{页面标题}\
  2. 用用户提供的代理地址获取页面
  3. 解析图片 URL(data-original 属性)
  4. 批量下载

常见问题

Q: 代理端口不是 7890? → 告诉我实际的代理地址和端口。

Q: 图片是其他格式(jpeg/gif/webp)? → 脚本中用正则匹配所有图片扩展名,自动处理。

Q: 想下载视频而不是图片? → 同样适用,只需提供视频帖子的 URL。

安全使用建议
This skill appears coherent for downloading forum images/videos using PowerShell. Before installing or running it: (1) only provide proxies you trust (the skill will use whatever proxy you give it); (2) avoid pointing the downloader at sensitive system directories—give an explicit safe folder; (3) ask whether the implementation sanitizes page titles and filenames (to prevent directory traversal or invalid characters) and whether it prevents overwriting files; (4) be cautious about legal/copyright or malware risks from downloaded content; and (5) if you need stronger guarantees, request that the skill include filename sanitization, file-size limits, content-type checks, and a dry-run mode that lists files before downloading.
功能分析
Type: OpenClaw Skill Name: forum-downloader Version: 1.0.2 The skill bundle describes a forum downloader that uses PowerShell and `System.Net.WebClient` to fetch media from arbitrary URLs. While the behavior described in `SKILL.md` is aligned with its stated purpose, the use of PowerShell for network downloads and file system manipulation constitutes a high-risk capability that could be repurposed for malicious execution. No evidence of intentional malice, such as data exfiltration or backdoors, was found in the provided files.
能力评估
Purpose & Capability
Name/description (bulk download images/videos from forum posts via proxy, PowerShell script, GBK handling) align with declared requirement of the powershell binary and the described PowerShell WebClient/WebProxy approach. No unrelated binaries, env vars, or config paths are requested.
Instruction Scope
SKILL.md stays focused on fetching pages via a user-provided proxy, parsing titles, and downloading media with PowerShell. However it instructs creating folders from page titles and writing files to a user-specified directory but does not mention filename/path sanitization, overwrite protection, size limits, or content validation. That omission increases risk (e.g., filenames with traversal characters, overwriting important files, or downloading unwanted/malicious content).
Install Mechanism
Instruction-only skill with no install spec and no external downloads — lowest-risk delivery model. Requiring an existing powershell binary is reasonable for a PowerShell script.
Credentials
No environment variables, credentials, or config paths are requested. The skill asks the user at run-time for a proxy address (not hard-coded) which is proportionate to the described proxy use-case.
Persistence & Privilege
always is false and the skill does not request persistent/system-wide changes. It will write files to directories the user specifies, which is expected behavior for a downloader but means the user should avoid sensitive system paths.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install forum-downloader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /forum-downloader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
v1.0.2: 移除示例中的具体代理地址
v1.0.1
v1.0.1: 移除硬编码代理地址和路径,改为参数传入
v1.0.0
Initial release
元数据
Slug forum-downloader
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Forum Downloader 是什么?

从论坛帖子批量下载图片/视频到指定目录。支持需要代理访问的论坛(如 hjd2048),自动提取页面标题创建文件夹,PowerShell 脚本,UTF-8 BOM 编码。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 120 次。

如何安装 Forum Downloader?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install forum-downloader」即可一键安装,无需额外配置。

Forum Downloader 是免费的吗?

是的,Forum Downloader 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Forum Downloader 支持哪些平台?

Forum Downloader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Forum Downloader?

由 zitao666(@zitao666)开发并维护,当前版本 v1.0.2。

💬 留言讨论