agentleFS
wlzhwlzh/skills/wespy-fetcher/SKILL.md

wespy-fetcher

Skill694 starsChanged 3 months agoMITView on GitHub

获取并转换微信公众号/网页文章为 Markdown 的封装 Skill,完整支持 WeSpy 的单篇抓取、微信专辑批量下载、专辑列表获取、HTML/JSON/Markdown 多格式输出。Use when user asks to 抓取微信公众号文章、公众号专辑批量下载、URL 转 Markdown、保存微信文章、mp.weixin.qq.com to markdown.

The file

Files
SKILL.md

WeSpy Fetcher

封装 tianchangNorth/WeSpy 的完整能力。

功能范围(与 WeSpy 对齐)

  • 单篇文章抓取(微信公众号 / 通用网页 / 掘金)
  • 微信专辑文章列表获取(--album-only)
  • 微信专辑批量下载(--max-articles)
  • 多格式输出(Markdown 默认,支持 HTML / JSON / 全部)
  • 交互模式(不传 URL 时)

依赖来源

  • 上游项目:https://github.com/tianchangNorth/WeSpy
  • 本地约定克隆目录:~/Documents/QNSZ/project/WeSpy

使用

脚本位置:scripts/wespy_cli.py

# 查看帮助
python3 scripts/wespy_cli.py --help

# 单篇文章(默认输出 markdown)
python3 scripts/wespy_cli.py "https://mp.weixin.qq.com/s/xxxxx"

# 输出 markdown + html
python3 scripts/wespy_cli.py "https://mp.weixin.qq.com/s/xxxxx" --html

# 输出 markdown + json
python3 scripts/wespy_cli.py "https://mp.weixin.qq.com/s/xxxxx" --json

# 输出所有格式
python3 scripts/wespy_cli.py "https://mp.weixin.qq.com/s/xxxxx" --all

# 专辑只拉列表
python3 scripts/wespy_cli.py "https://mp.weixin.qq.com/mp/appmsgalbum?..." --album-only --max-articles 20

# 专辑批量下载
python3 scripts/wespy_cli.py "https://mp.weixin.qq.com/mp/appmsgalbum?..." --max-articles 20 --all

参数

透传 WeSpy 原生命令参数:

  • url
  • -o, --output
  • -v, --verbose
  • --html
  • --json
  • --all
  • --max-articles
  • --album-only

实现说明

  • 优先使用本地源码路径 ~/Documents/QNSZ/project/WeSpy
  • 若本地不存在则自动执行 git clone 到该目录
  • 通过导入 wespy.main.main 直接调用上游 CLI,保持行为一致

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.