微信公众号文章爬取

Scrape WeChat Official Account article lists and content into Markdown with JSON/CSV outputs.

14|6|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/qbu11/wechat-article-spider --skill -qbu11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 微信公众号文章爬取
Source: https://github.com/qbu11/wechat-article-spider/tree/main/skill
Command: npx skills add https://github.com/qbu11/wechat-article-spider --skill -qbu11

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

用户需要快速检索并获取微信公众号文章内容,但手动复制链接与页面整理耗时且难以形成可分析的数据集,这个 Skill 将自动完成搜索与抓取流程并输出结构化结果。

Core Features & Use Cases

  • 公众号搜索与文章列表获取:按公众号名称检索并获取文章标题、发布时间与链接,适合快速摸清某号近期发文情况。
  • 正文内容提取(Markdown):在需要进一步分析时启用正文抓取,将内容转换为 Markdown 便于阅读与下游处理。
  • 单号与批量爬取 + CSV/目录输出:支持一次性抓取多个公众号并导出到文件,适合内容研究、舆情整理与知识库构建。

Quick Start

First, tell the Skill to check whether you are logged in, then ask it to scrape a specific公众号 for the latest articles with正文 in Markdown and export the results to a CSV file.

Frequently Asked Questions about 微信公众号文章爬取

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape WeChat Official Account articles and export the content to Markdown?

To scrape WeChat Official Account articles and export content to Markdown, you can use an automated CLI tool that searches accounts, fetches article lists, and converts full text into Markdown files. It requires a Python 3.8 environment with Chrome for interactive login. You can also export the collected data as CSV or JSON for downstream analysis.

Can I batch scrape multiple WeChat Official Accounts at once?

Yes, you can batch scrape multiple WeChat Official Accounts at once by specifying the account names in your request. The tool supports bulk multi-account crawling and can output the extracted article lists and full text content into a structured CSV file or directory, making it ideal for content research and knowledge base building.

Do I need a specific Python environment to scrape WeChat articles?

Yes, you need a working Python 3.8 or higher CLI environment to scrape WeChat articles. The scraping process also requires Chrome installed on your machine to handle the interactive login step, ensuring secure access to the WeChat Official Account platform before automated content extraction begins.

What is the best way to collect recent WeChat articles for content mining?

The best way to collect recent WeChat articles for content mining is using an automated scraping tool that fetches article titles, publication dates, and links. You can use parameters like 'days' or 'pages' to limit the crawl to recent posts, and optionally extract the full article body in Markdown for deeper analysis.

What formats are supported when exporting scraped WeChat article data?

When exporting scraped WeChat article data, the supported formats include JSON and CSV for the article lists, and Markdown for the full article body content. This structured output allows you to easily import the scraped WeChat data into downstream analysis tools or knowledge bases.