Skip to content
Back to search

wechat-article-search

Search WeChat public account articles by keyword via Sogou WeChat Search. Returns structured JSON — no API key required.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/zjp1997720--wechat-article-search/badge.svg)](/listings/zjp1997720--wechat-article-search)

HTML

<a href="/listings/zjp1997720--wechat-article-search"><img src="/api/listings/zjp1997720--wechat-article-search/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 86 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. > [!IMPORTANT]
  2. > This repository is a generated compatibility mirror. The editable source, Issues, and contributions live in [zjp1997720/zhijian-skills](https://github.com/zjp1997720/zhijian-skills/tree/main/skills/wechat-article-search).
  3. # WeChat Article Search
  4. <p align="center">
  5. <img src="./assets/readme/hero.svg" width="100%" alt="WeChat Article Search turns a keyword into structured public-account article results">
  6. </p>
  7. <p align="center"><strong>Search WeChat public-account articles by keyword and return structured evidence without an API key.</strong></p>
  8. <p align="center"><a href="./README.zh-CN.md">简体中文</a> · <a href="https://github.com/zjp1997720/zhijian-skills/tree/main/skills/wechat-article-search">Canonical source</a> · <a href="https://github.com/zjp1997720/wechat-article-search">Standalone mirror</a></p>
  9. Use it for topic discovery when you know the keyword but not which WeChat public account published the useful article.
  10. ## Agent Install
  11. ```bash
  12. npx skills add zjp1997720/wechat-article-search -g -a codex --skill wechat-article-search -y
  13. ```
  14. ## Requirements
  15. - Node.js 18+ (tested on Node 20)
  16. - One npm dependency: `cheerio`. Run `npm install` inside the skill folder after install.
  17. ## What It Does
  18. - **Keyword search** across WeChat public accounts via Sogou WeChat Search — returns 1–50 articles per query.
  19. - **Structured output**: title, URL, summary, publish datetime, date text, relative time, source account name.
  20. - **Optional real-URL resolution** (`-r`): converts Sogou redirect links into `mp.weixin.qq.com` direct links when reachable.
  21. - **Optional file output** (`-o`): writes JSON to disk for archival.
  22. ## How It Works
  23. The skill drives a single self-contained Node.js script (`scripts/search_wechat.js`) that queries Sogou WeChat Search (`weixin.sogou.com`), parses the result HTML with `cheerio`, and emits structured JSON to stdout. No API keys, no MCP tools, no platform coupling — it works in any agent runtime that can run `node`.
  24. ## Example Requests
  25. ```
  26. Search WeChat articles about "Loop Engineering", give me 10.
  27. ```
  28. ```
  29. 搜一下"AI培训"相关的公众号文章,要 5 条,保存到 result.json。
  30. ```
  31. ## CLI Usage
  32. ```bash
  33. node scripts/search_wechat.js "<keyword>" [-n <count>] [-o <output.json>] [-r]
  34. ```
  35. | Flag | Default | Description |
  36. |------|---------|-------------|
  37. | `query` | required | Search keyword |
  38. | `-n, --num` | 10 | Number of results (max 50) |
  39. | `-o, --output` | stdout | Write JSON to a file |
  40. | `-r, --resolve-url` | off | Resolve real `mp.weixin.qq.com` URLs (slower, may fail under anti-bot) |
  41. First run: `npm install` in the skill folder to pull `cheerio`.
  42. ## Safety & Limits
  43. - Uses public Sogou WeChat Search as the data source. Anti-bot rate limiting can intermittently return empty results or block URL resolution — retry with a different keyword or wait.
  44. - `-r` URL resolution succeeds inconsistently under Sogou's anti-spider policy. Failures keep the Sogou redirect link and set `url_resolved: false`.
  45. - For study and research only. Do not use for large-scale commercial crawling. Excessive use may get your IP temporarily blocked.
  46. ## Repository Layout
  47. ```text
  48. .
  49. ├── README.md
  50. ├── README.zh-CN.md
  51. ├── assets/readme/hero.svg
  52. ├── LICENSE
  53. └── skills/wechat-article-search/
  54. ├── SKILL.md
  55. ├── agents/openai.yaml
  56. ├── package.json
  57. └── scripts/search_wechat.js
  58. ```
  59. ## License
  60. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.