본문으로 건너뛰기
Skillpedia
리서치10.0k · #12034

wechat-article-downloader

하는 일

이 스킬은 MCP 도구 서비스를 이용해 WeChat 공식 계정의 글을 내려받습니다. WeChat 계정의 글을 보관하거나 기록하거나 분석하려는 사람을 위한 내용입니다.

사용하는 경우

  • ✓WeChat 글 하나를 PDF, Word 파일, Markdown으로 저장하고 싶을 때.
  • ✓공개 계정의 글 모음 전체를 내려받고 싶을 때.
  • ✓글 제목, 링크 같은 메타데이터를 CSV 파일로 내보내고 싶을 때.

스킬 링크

https://github.com/qiye45/wechatDownload/blob/main/skills/wechat-article-downloader/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/qiye45/wechatDownload/blob/main/skills/wechat-article-downloader/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 WeChat 글을 Markdown 파일로 내려받고, 제목과 링크를 CSV에 저장해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 먼저 로컬 MCP 서버를 확인하고, 일부 도구는 원격 서버로 대체할 수 있습니다. 필요한 다운로드나 내보내기 도구를 호출하고, 고른 형식으로 결과를 저장합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

WeChat Article Downloader

This skill helps you download articles from WeChat official accounts using an MCP server that interfaces with a WeChat article download tool.

Prerequisites

The skill uses local MCP endpoint http://127.0.0.1:4545/mcp for full functionality.

If local MCP is unavailable, you may fallback to https://changfengbox.top/api/mcp for remote-supported tools.

Local MCP tools:

  • single_article_download - Download a single article
  • get_public_account_id - Get public account credentials
  • batch_download_articles - Batch download all articles from an account
  • export_article_data - Export article metadata to CSV

Remote fallback MCP (https://changfengbox.top/api/mcp) currently supports:

  • Methods: initialize, tools/list, tools/call
  • Tools in tools/call name:
    • wechat - Download a single article
    • wechat_collection - Download a public account collection (appmsgalbum)

Important: remote fallback does not expose local tool names like single_article_download, batch_download_articles, get_public_account_id, or export_article_data.

Workflow

1. Check Local MCP Server Status

Before using most functionality, verify local MCP is running:

import requests

LOCAL_MCP_ENDPOINT = "http://127.0.0.1:4545/mcp"

def check_local_mcp():
    response = requests.post(
        LOCAL_MCP_ENDPOINT,
        json={"jsonrpc": "2.0", "method": "initialize", "id": 1},
        headers={"Content-Type": "application/json"},
        timeout=3,
    )
    if response.status_code != 200:
        raise RuntimeError("Local MCP is not available")
    return LOCAL_MCP_ENDPOINT

local_mcp_endpoint = check_local_mcp()

If local MCP is inaccessible, inform the user they need to:

  1. Open the WeChat article download tool
  2. Check the "启动MCP" checkbox to start the MCP service
  3. Wait for the confirmation message showing the service is running on port 4545

2. Single Article Download

Use local tool first. If local MCP fails, fallback to remote wechat tool.

import requests

LOCAL_MCP_ENDPOINT = "http://127.0.0.1:4545/mcp"
FALLBACK_DOWNLOAD_MCP_ENDPOINT = "https://changfengbox.top/api/mcp"

def call_tool(endpoint, tool_name, arguments, req_id=2):
    payload = {
        "jsonrpc": "2.0",
        "method": "tools/call",
        "id": req_id,
        "params": {
            "name": tool_name,
            "arguments": arguments,
        }
    }

    response = requests.post(
        endpoint,
        json=payload,
        headers={"Content-Type": "application/json"},
        timeout=10,
    )
    response.raise_for_status()
    return response.json()

def download_single_article(url):
    try:
        return call_tool(
            LOCAL_MCP_ENDPOINT,
            "single_article_download",
            {"url": url},
            req_id=2,
        )
    except Exception:
        remote_config = {
            "保存离线网页": True,
            "HTML": True,
            "MD": True,
            "PDF": False,
            "WORD": False,
            "TXT": False,
            "MHTML": False,
            "文件开头添加日期": True,
        }
        return call_tool(
            FALLBACK_DOWNLOAD_MCP_ENDPOINT,
            "wechat",
            {"url": url, "config": remote_config},
            req_id=3,
        )

# Example usage
article_url = "https://mp.weixin.qq.com/s/xxxxx"
result = download_single_article(article_url)
print(result)

The article will be downloaded to the tool's default download directory in the formats configured in the tool (HTML, PDF, Word, Markdown, MHTML, etc.).

Remote wechat config can use these keys:

  • 保存离线网页
  • HTML
  • MD
  • PDF
  • WORD
  • TXT
  • MHTML
  • 文件开头添加日期

If local 127.0.0.1:4545 is unavailable, this step should transparently use https://changfengbox.top/api/mcp with tool name wechat.

3. Download Collection (appmsgalbum)

For collection URLs, call remote wechat_collection via tools/call:

def download_collection(collection_url):
    payload = {
        "jsonrpc": "2.0",
        "method": "tools/call",
        "id": 4,
        "params": {
            "name": "wechat_collection",
            "arguments": {
                "url": collection_url,
            },
        },
    }

    response = requests.post(
        "https://changfengbox.top/api/mcp",
        json=payload,
        headers={"Content-Type": "application/json"},
        timeout=20,
    )
    response.raise_for_status()
    return response.json()
자주 묻는 질문

어떤 형식으로 저장할 수 있나요?

이 스킬은 HTML, PDF, Word, Markdown, TXT, MHTML을 나열합니다.

로컬 서버가 실행 중이 아니면 어떻게 하나요?

이 스킬은 일부 도구만 지원하는 원격 엔드포인트로 대체할 수 있다고 설명합니다.

글 데이터도 내보낼 수 있나요?

네. 이 스킬에는 글 메타데이터를 CSV로 쓰는 내보내기 도구가 들어 있습니다.

상세 정보

작성자의 원본 설명

Download WeChat official account articles in multiple formats (HTML, PDF, Word, Markdown, TXT, MHTML), including single article download, collection (appmsgalbum) download, local bulk workflows, and metadata export. Use this skill when users ask to download WeChat articles, download public account collections, batch pull account content, or export article data.

repo: qiye45/wechatDownload

인기도

GitHub 스타
10.0k
순위
#12034
라이선스
—
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

비슷한 스킬