Aller au contenu
Skillpedia
Web scraping6.3k · #14316

wechat-article-search-api-skill

Ce qu’il fait

Cette compétence recherche des articles WeChat pour les mots-clés choisis et renvoie leur contenu intégral. Elle s'adresse aux chercheurs et aux analystes qui suivent les comptes publics chinois et l'actualité de leur secteur.

Quand l’utiliser

  • ✓Quand vous avez besoin du texte intégral d'articles WeChat sur un sujet.
  • ✓Quand vous voulez suivre ce que publient les comptes publics WeChat d'un secteur.
  • ✓Quand vous étudiez la couverture médiatique ou les concurrents sur WeChat.

Lien du skill

https://github.com/browser-act/skills/blob/main/solutions/social-listening/wechat-article-search-api-skill/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/browser-act/skills/blob/main/solutions/social-listening/wechat-article-search-api-skill/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Trouve les articles WeChat sur les véhicules électriques publiés ce mois-ci et donne-moi le texte intégral de chacun.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La compétence envoie vos mots-clés et vos filtres de date facultatifs à un modèle BrowserAct. Le modèle recherche les articles WeChat et renvoie des enregistrements structurés, dont le corps complet de l'article.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

WeChat Article Search API

📖 Introduction

This skill provides users with automated WeChat article extraction through the BrowserAct WeChat Article Search API template. It allows for the direct extraction of full-content, structured WeChat articles based on keyword searches. Simply provide search keywords and optional date filters, and you can obtain comprehensive article data including the full body text.

✨ Features

  1. No hallucinations, ensuring stable and precise data extraction: Pre-configured workflows avoid AI-generated hallucinations.
  2. No CAPTCHA issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP restrictions or geo-blocking: No need to handle regional IP limitations.
  4. Faster execution: Task execution is faster compared to pure AI-driven browser automation solutions.
  5. Extremely high cost-effectiveness: Significantly reduces data acquisition costs compared to AI solutions that consume a large number of tokens.

🔑 API Key Guidance Flow

Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other actions; request and wait for the user to provide it. The Agent must inform the user:

"Since you have not configured the BrowserAct API Key, please go to the BrowserAct Console to get your Key."

🛠️ Input Parameters

When invoking the script, the Agent should flexibly configure the following parameters based on user needs:

  1. keywords (Search Keywords)

    • Type: string
    • Description: Search keywords used to find WeChat articles. Can be an industry term, topic, or specific phrase.
    • Example: openclaw, AI agent, browser automation
  2. Date_limit (Extraction Limit)

    • Type: number
    • Description: Maximum number of articles to extract. For the first run, a smaller default value is recommended.
    • Default Value: 10
    • Suggestions: Use 5 to 10 for quick testing, larger numbers for batch research.
  3. publication_date (Publication Date Filter)

    • Type: string
    • Description: Filter articles by their publication date.
    • Example: 3月11日, March 10, 2026-03-11

🚀 Invocation Method

The Agent should execute the following independent script to achieve "one command, direct results":

# Example invocation
python -u ./scripts/wechat_article_search_api.py "keywords" limit "publication_date"

⏳ Run Status Monitoring

Because this task involves automated browser operations, it may take a long time (several minutes). While running, the script will continuously output timestamped status logs (e.g., [14:30:05] Task Status: running). Agent Instructions:

  • Keep monitoring the terminal output while waiting for the script to return results.
  • As long as the terminal continues to output new status logs, it means the task is running normally; do not misjudge it as deadlocked or unresponsive.
  • Only consider triggering the retry mechanism if the status remains unchanged for a long time, or the script stops outputting without returning results.

📊 Output Data Explanation

Upon successful execution, the script will parse and print the results directly from the API response. The results include:

  • url_link: Original article URL
  • publication_date: Article publication date
  • author: Article author or publishing account name
  • image_url: Main image URL or article cover image URL
  • body_content: Full body content of the article
  • title: Full article title

⚠️ Error Handling & Retry

During script execution, if an error occurs (such as network fluctuation or task failure), the Agent should follow this logic:

  1. Check the output content:

    • If the output contains "Invalid authorization", it means the API Key is invalid or expired. In this case, do not retry; guide the user to re-check and provide the correct API Key.
    • If the output does not contain "Invalid authorization" but the task fails (e.g., output starts with Error: or returns an empty result), the Agent should automatically try to execute the script one more time.
  2. Retry limit:

    • Automatic retry is limited to once. If the second attempt still fails, stop retrying and report the specific error message to the user.

🌟 Typical Use Cases

  1. Content Monitoring: Track mentions
Questions fréquentes

Dois-je définir une période ?

Non, le filtre de date est facultatif.

Renvoie-t-elle seulement le titre de l'article ?

Non, la description indique qu'elle renvoie le corps complet de l'article ainsi que d'autres champs structurés.

Ai-je besoin d'une clé ?

Oui, une clé API BrowserAct dans le paramètre BROWSERACT_API_KEY.

Détails

Description originale de l’auteur

This skill helps users extract full article contents from WeChat using the BrowserAct API. The Agent should proactively apply this skill when users express needs like finding full WeChat articles for specific keywords, tracking WeChat public accounts for industry trends, extracting WeChat article contents for media research, monitoring public relations on WeChat platforms, collecting competitor updates from WeChat, getting full article body from WeChat links, monitoring brand exposure on WeChat articles, retrieving structured WeChat data for sentiment analysis, summarizing daily news from WeCh

repo: browser-act/skills

Popularité

Étoiles GitHub
6.3k
Position au classement
#14316
Licence
MIT
Mis à jour
24/08/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires