wechat-article-search
wuchubuzai2018/expert-skills-hub
Search WeChat public account articles by keyword and retrieve titles, summaries, publish dates, sources, and links.
What is wechat-article-search?
A skill for searching WeChat public account articles across tech, AI, social trends, finance, education, and workplace topics. Use it when you need to find specific articles, gather reference materials, or quickly retrieve article metadata from WeChat sources.
- Search WeChat articles by keyword with configurable result limits (up to 50)
- Return article metadata including title, summary, publish time, source account name, and article URL
- Optionally resolve intermediate links to actual WeChat article URLs
- Save search results to JSON files for further processing
- Support for Chinese language queries across multiple content categories
How to install wechat-article-search
npx skills add https://github.com/wuchubuzai2018/expert-skills-hub --skill wechat-article-search- Node.js installed
- cheerio npm package (install globally with: npm install -g cheerio)
How to use wechat-article-search
- 1.Confirm cheerio dependency is installed globally or in your project
- 2.Prepare your search keyword(s)
- 3.Execute the basic search command: node scripts/search_wechat.js "keyword"
- 4.(Optional) Add -n flag to limit results: node scripts/search_wechat.js "keyword" -n 15
- 5.(Optional) Add -o flag to save to file: node scripts/search_wechat.js "keyword" -n 20 -o result.json
- 6.(Optional) Add -r flag to resolve real URLs: node scripts/search_wechat.js "keyword" -n 5 -r
- 7.Review the returned article data with title, summary, publish date, source, and link
Use cases
- Find recent articles on a specific topic from WeChat public accounts
- Gather reference materials and citations from WeChat sources for research or writing
- Retrieve article summaries and metadata without manually browsing WeChat
- Export search results to JSON for content curation or analysis
- Resolve WeChat article links to their actual destinations
- Content researchers and curators
- Chinese language information seekers
- Students and academics gathering references
- Journalists researching trending topics
- Anyone needing quick access to WeChat article metadata
wechat-article-search FAQ
Try using different keywords, reduce special characters, or retry later. The search may be rate-limited or the keyword may not match available articles.
URL resolution failures are common due to anti-scraping protections. Users can open the intermediate links directly in a browser as an alternative.
The maximum is 50 results per search. Use the -n parameter to specify the desired number (default is 10).
Yes, use the -o flag with a file path to save results as JSON: node scripts/search_wechat.js "keyword" -o result.json
Each article includes: title, URL, summary, publish time, and source WeChat public account name.
Full instructions (SKILL.md)
Source of truth, from wuchubuzai2018/expert-skills-hub.
name: wechat-article-search description: 搜索微信公众号文章技能。通过微信搜索获取文章列表,覆盖科技/AI、社会热点、财经、教育、职场等各类中文资讯;可按关键词检索并返回标题、概要、发布时间、来源公众号与链接。当用户需要查找微信公众号文章、整理参考资料或快速获取文章信息时使用此技能。
微信公众号文章搜索说明
适用场景
- 用户说“帮我搜某个关键词的公众号文章/最近文章”
- 需要快速拿到:标题、摘要、发布时间、公众号名称、可访问链接
工作流程
步骤1: 确认已安装依赖包
该脚本依赖NodeJS依赖包 cheerio,建议先执行全局安装或在项目中安装:
npm install -g cheerio
步骤2: 确认搜索词语数量
1、 确认关键词与数量
步骤3: 执行搜索命令
1、执行常规搜索命令
node scripts/search_wechat.js "关键词"
特殊流程(可选)
- 执行包含数量限制的搜索命令
node scripts/search_wechat.js "关键词" -n 15
- 如果用户需要保存结果到文件,执行命令
node scripts/search_wechat.js "关键词" -n 20 -o result.json
- 若想要获取微信文章域名的真实链接”,执行如下命令
node scripts/search_wechat.js "关键词" -n 5 -r
参数说明
query:搜索关键词(必填)-n, --num:返回数量(默认 10,最大 50)-o, --output:输出 JSON 文件路径(可选)-r, --resolve-url:尝试把中间链接解析成微信文章真实链接(会额外请求每条结果)
输出字段(文章对象)
文章标题、文章地址、文章概要、发布时间、来源公众号名称
常见问题处理
- 结果为空:尝试更换关键词、更少的特殊字符、或稍后重试
- 解析真实 URL 失败:这是常态(反爬限制);可提示用户用浏览器打开中间链接
注意事项
- 本工具仅用于学习和研究目的,请勿用于商业用途或大规模爬取。
- 使用本工具时请遵守相关网站的使用条款和规定。
- 过度使用可能导致 IP 被封禁,请谨慎使用。
Related skills
More from wuchubuzai2018/expert-skills-hub and the wider catalog.

douyin
Download Douyin videos and extract metadata from short links and full URLs.

develop-userscripts
Build, debug, and publish Tampermonkey and ScriptCat userscripts with proper metadata, permissions, and runtime selection.

github-actions-docs
Ground GitHub Actions questions in official documentation with exact links and docs-backed YAML guidance.

openclaw-secure-linux-cloud
Secure self-hosted OpenClaw on Linux cloud servers with conservative defaults: loopback binding, SSH tunneling, token auth, and minimal tool permissions.

opensource-guide-coach
Coach for open source project decisions using official Open Source Guides as a framework.

readme-i18n
Translate repository READMEs into multiple languages while preserving structure, links, and code.