wechat-article-search

wuchubuzai2018/expert-skills-hub · updated Apr 8, 2026

$npx skills add https://github.com/wuchubuzai2018/expert-skills-hub --skill wechat-article-search
0 commentsdiscussion
summary

Search WeChat public account articles by keyword with title, summary, publish time, and source information.

  • Searches WeChat articles across topics including technology, AI, social trends, finance, education, and workplace content
  • Returns article metadata: title, summary, publication date, source public account name, and access links
  • Supports optional parameters for result count (up to 50), JSON file output, and real URL resolution for article links
  • Requires Node.js with the cheeri
skill.md

微信公众号文章搜索说明

适用场景

  • 用户说“帮我搜某个关键词的公众号文章/最近文章”
  • 需要快速拿到:标题、摘要、发布时间、公众号名称、可访问链接

工作流程

步骤1: 确认已安装依赖包

该脚本依赖NodeJS依赖包 cheerio,建议先执行全局安装或在项目中安装:

npm install -g cheerio

步骤2: 确认搜索词语数量

1、 确认关键词与数量

步骤3: 执行搜索命令

1、执行常规搜索命令

node scripts/search_wechat.js "关键词" 

特殊流程(可选)

  1. 执行包含数量限制的搜索命令
node scripts/search_wechat.js "关键词"  -n 15
  1. 如果用户需要保存结果到文件,执行命令
node scripts/search_wechat.js "关键词" -n 20 -o result.json
  1. 若想要获取微信文章域名的真实链接”,执行如下命令
node scripts/search_wechat.js "关键词" -n 5 -r

参数说明

  • query:搜索关键词(必填)
  • -n, --num:返回数量(默认 10,最大 50)
  • -o, --output:输出 JSON 文件路径(可选)
  • -r, --resolve-url:尝试把中间链接解析成微信文章真实链接(会额外请求每条结果)

输出字段(文章对象)

文章标题、文章地址、文章概要、发布时间、来源公众号名称

常见问题处理

  • 结果为空:尝试更换关键词、更少的特殊字符、或稍后重试
  • 解析真实 URL 失败:这是常态(反爬限制);可提示用户用浏览器打开中间链接

注意事项

  • 本工具仅用于学习和研究目的,请勿用于商业用途或大规模爬取。
  • 使用本工具时请遵守相关网站的使用条款和规定。
  • 过度使用可能导致 IP 被封禁,请谨慎使用。

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.843 reviews
  • Ama Gonzalez· Dec 28, 2024

    wechat-article-search fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Lucas Thompson· Dec 20, 2024

    Solid pick for teams standardizing on skills: wechat-article-search is focused, and the summary matches what you get after install.

  • Lucas Kim· Dec 16, 2024

    wechat-article-search is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Sakshi Patil· Nov 23, 2024

    Useful defaults in wechat-article-search — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Jin Kim· Nov 19, 2024

    I recommend wechat-article-search for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Lucas Shah· Nov 11, 2024

    wechat-article-search has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Tariq Chen· Nov 7, 2024

    Keeps context tight: wechat-article-search is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Tariq Martin· Nov 7, 2024

    Registry listing for wechat-article-search matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Tariq Thompson· Oct 26, 2024

    We added wechat-article-search from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Tariq Yang· Oct 26, 2024

    Useful defaults in wechat-article-search — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

showing 1-10 of 43

1 / 5