WeChat Official Account Scraping Skill: Extract Article Content from Links and Write to Feishu Docs

Introduction

When dropping a link to a WeChat Official Account or a blog into an Agent conversation, the common requirement is not just to “open the webpage,” but to quickly obtain readable body text (including images) that is easy to forward and review. Writing a crawler yourself involves handling DOM differences, anti-scraping measures, and locating the main content area; furthermore, pasting the results into a collaborative document adds another manual step. This article introduces the “Official Account Scrapling Skill” (公众号抓取 skill) on SkillHub, which integrates fetching, truncation, and Feishu (Lark) storage into a workflow that can be triggered directly within a conversation.

What is this

The “Official Account Scrapling Skill” (identifier @user_5223609c/scrapling-article-fetch) is a community-published Agent Skill (version 1.0.0), maintained by user_5223609c and categorized under data-analysis on SkillHub.

The official description states: It uses Scrapling and html2text to fetch readable body text (including images) from a URL, extracts content using priority-based selectors, and truncates the text based on character count. Subsequently, it automatically writes the result to a Feishu document and returns the document link.

It is applicable for scenarios where a user sends an article, blog, or news link (especially WeChat Official Account links mp.weixin.qq.com) and wishes to quickly review the body content.

The SkillHub page indicates requires_api_key=false, meaning no additional API Key configuration is required on the store side. Whether Feishu writing depends on the Feishu integration in your current Agent environment should be based on the instructions within the Skill package. This article does not expand on configuration items not shown on the public page.

Core Features

According to the official description, the verifiable capabilities include:

  1. URL Body Fetching: Retrieves the page for a given link, converts it into readable text, and retains image-related handling (the description notes “including images”).
  2. Structured Extraction: Locates the main content area using prioritized selectors to avoid noise from the entire page HTML.
  3. Length Control: Truncates content by character count, facilitating previews in conversations or documents without loading the full text at once.
  4. Feishu Integration: Automatically writes the fetched results to a Feishu document and returns the document link to the user, facilitating sharing and secondary editing.

The tech stack is explicitly stated as Scrapling + html2text, aiming for a closed loop of “Link → Readable Text → Feishu,” rather than merely returning a Markdown string.

Installation and Activation

The Skill is based on the universal SKILL.md format. SkillHub provides two installation methods: using the CLI to install to the current Agent’s skills directory, or sending the official prompt to an AI to execute the installation based on the documentation.

1. Install SkillHub CLI (if not already installed)

First, check if the CLI is already available:

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (including default Skills) by following the SkillHub installation documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install this Skill

When installing the skill, you must use the --dir flag to point to the current Agent’s skills directory; otherwise, installing to the default ./skills/ might not be recognized. The official coordinates are @user_5223609c/scrapling-article-fetch. The example command is as follows:

skillhub install @user_5223609c/scrapling-article-fetch --dir <skills directory>

Skills paths for common clients (from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Alternatively, you can send the following prompt to an AI to let it complete the installation according to the SkillHub Installation Guide:

Please install `@user_5223609c/scrapling-article-fetch` based on https://skillhub.cn/install/skillhub.md.

After installation, restart or refresh the Agent according to your client’s requirements to enable the new Skill.

Typical Usage

The public page does not include independent command-line subcommand examples; usage aligns with the description. You can directly provide the target URL in the conversation, and the Agent will call the Skill to complete the subsequent steps. The reproducible interaction mode is as follows:

  1. Send an article link to the Agent (WeChat Official Account articles, blogs, or news pages are all acceptable; mp.weixin.qq.com is specifically highlighted by the official source).
  2. The Agent uses Scrapling to fetch the page, extracts the body text using priority selectors, converts it to readable content via html2text, and truncates it by character count.
  3. The Skill writes the result to a Feishu document and returns the Feishu document link, allowing you to open it in a browser to verify the text and image rendering.

If you need to verify whether a specific long WeChat article has been fully scraped, send the link separately and use the returned Feishu document for manual proofreading.

Use Cases and Notes

Who it is for

  • Developers or analysts who frequently handle external links in conversations and want to minimize manual copying and pasting.
  • Scenarios requiring quick sedimentation of webpage body text into Feishu for team viewing.
  • Reading and summary preparation primarily focused on WeChat Official Account articles (fetching followed by downstream tasks like summarization or comparison).

Things to note

  • Different sites have significant variations in DOM and anti-scraping strategies; since selectors match by priority, extraction may be incomplete for a very small number of pages. Verification should be based on the returned Feishu document.
  • The character count truncation mentioned in the description implies that super long articles may be excerpts on the Skill output side. For complete archiving, refer to the Feishu document content or adjust the Skill behavior yourself (refer to the SKILL.md inside the Skill package for specific parameters).
  • Platforms like WeChat Official Accounts may have restrictions on non-browser access. The success rate of fetching depends on the environment and Skill implementation; it should not be assumed that the result is identical to opening it in a browser.
  • SkillHub Statistics (as of page display): Rating 100000, Downloads 10834, Installs 72; Source: Community (community). For upgrades and issue feedback, refer to the SkillHub page and the publisher.

Conclusion

The “Official Account Scrapling Skill” combines Scrapling fetching, html2text readability conversion, selector prioritization, and Feishu write-back into a single step. It is suitable for the verification path of “sending a link, wanting the text, and wanting the document.” Installation and coordinates are subject to SkillHub:

  • Skill Page: https://www.skillhub.cn/skills/user_5223609c/scrapling-article-fetch
  • API Coordinates: https://api.skillhub.cn/user_5223609c/scrapling-article-fetch
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye