← 返回
未分类

微信公众号文章抓取

Fetch complete content from WeChat public account articles (mp.weixin.qq.com). Use when extracting content from WeChat official account links, especially whe...
ranhuang
未分类 clawhub v1.0.0 100000 Key: 无需
★ 1
Stars
📥 401
下载
💾 0
安装

概述

WeChat Web Fetch Skill

Features

  • Specialized for WeChat public account articles (mp.weixin.qq.com)
  • Simulates browser request with proper headers to bypass login restrictions for public articles
  • Extracts clean content and converts to Markdown format
  • Based on Readability for accurate content extraction

Requirements

  • Python 3.7+
  • httpx
  • readability-lxml

Usage

{baseDir}/scripts/weixin_fetch.py <url>

Output

Returns JSON with:

  • url: Original URL
  • final_url: Final URL after redirects
  • title: Article title
  • author: Article author (if found)
  • content: Extracted content in Markdown
  • length: Content length
  • truncated: Whether content was truncated

Examples

# Fetch a WeChat article
{baseDir}/scripts/weixin_fetch.py https://mp.weixin.qq.com/s/2o2s3owEDkZziyD0UCeq2w

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 18:18 安全 安全

安全检测

暂无安全检测报告