Logotipo de Weibo Scraper Api

Weibo Scraper Api

Comunidad
scavio-ai
weibo-scraper-api

Pull Weibo user profiles and posts, post comments/likes/reposts, keyword search across posts, videos, users, topics and images, and the hot-search and ranking boards. 30 endpoints, 1 credit each, structured JSON.

Descripción general

Editorscavio-ai
Repositorioskills
Nombre de la habilidadweibo-scraper-api
Estrellas
67
Forks
0
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por scavio-ai en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Weibo Scraper Api en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/scavio-ai/skills/tree/main/skills/weibo-scraper-api
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/weibo-scraper-api .claude/skills/weibo-scraper-api
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Weibo Scraper Api en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Weibo Scraper Api automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Weibo Scraper Api no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Weibo Scraper API - Users, Posts, Search, Hot Search

Pull Weibo user profiles and posts, a post's comments, likes and reposts, run keyword search across posts, videos, users, topics and images, and read the hot-search board and ranking boards. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Read a Weibo user's profile (by numeric id or handle), their posts or original-only posts, their fans, following or videos
  • Read a post in full, or its comments, sub-comments, likes or reposts
  • Search Weibo by keyword - posts (advanced or realtime), videos, users, topics, images, similar terms, or an AI-assisted answer
  • Read the hot-search board and the entertainment / life / social ranking boards
  • Pull a named channel's popular content
  • Do China-market social listening, trend spotting or creator/topic research on Weibo

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Endpoints in this skill cost 1 credit each unless the table below says otherwise.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working. The smallest purchase is 2,500 credits for $25, and monthly plans work out cheaper per credit if the usage is steady rather than one-off.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. Every Weibo endpoint costs 1 credit.

User

EndpointWhat it returns
POST /api/v1/weibo/user/infoProfile details for a user by uid or custom handle
POST /api/v1/weibo/user/info-detailExtended profile details
POST /api/v1/weibo/user/postsA user's posts, with an optional detail level (feature 0-3)
POST /api/v1/weibo/user/original-postsA user's original (non-repost) posts
POST /api/v1/weibo/user/fansA user's followers
POST /api/v1/weibo/user/followingAccounts a user follows
POST /api/v1/weibo/user/videosA user's published videos
POST /api/v1/weibo/user/video-collectionsA user's video collection folders
POST /api/v1/weibo/user/video-collectionVideos inside a collection folder (cid)
POST /api/v1/weibo/user/search-postsSearch within one user's posts
POST /api/v1/weibo/user/recommend-timelineThe recommended home timeline

Post

EndpointWhat it returns
POST /api/v1/weibo/postFull detail for a single post by id (optional full long-text)
POST /api/v1/weibo/post/commentsTop-level comments on a post
POST /api/v1/weibo/post/sub-commentsReplies under a post's comments
POST /api/v1/weibo/post/likesAccounts that liked a post
POST /api/v1/weibo/post/repostsReposts of a post

Search

EndpointWhat it returns
POST /api/v1/weibo/search/advancedKeyword search with type and time filters
POST /api/v1/weibo/search/realtimeNewest posts matching a keyword
POST /api/v1/weibo/search/videosVideos matching a keyword
POST /api/v1/weibo/search/usersUsers matching a keyword and filters
POST /api/v1/weibo/search/topicsTopics matching a keyword
POST /api/v1/weibo/search/picsImage posts matching a keyword
POST /api/v1/weibo/search/similarRelated search terms and accounts for a keyword
POST /api/v1/weibo/search/aiAI-assisted answer for a query

Hot / rankings / feed

EndpointWhat it returns
POST /api/v1/weibo/hot-searchThe current hot-search board
POST /api/v1/weibo/hot-search/indexThe top hot-search entries
POST /api/v1/weibo/rankings/hot-timelineTrending posts over a time window (ranking_type)
POST /api/v1/weibo/rankings/entertainmentThe entertainment ranking board
POST /api/v1/weibo/rankings/lifeThe lifestyle ranking board
POST /api/v1/weibo/rankings/socialThe social ranking board

Key identifiers

  • uid - a numeric user id (e.g. 7277477906). user/info also accepts a custom handle instead.
  • id - a post id (e.g. 5092682368025584). Used by every post/* endpoint.
  • User post lists paginate with page (and since_id where offered); comment/timeline endpoints paginate with max_id from the previous response.

Examples

python
import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1. A user's profile, then their posts
info = requests.post(f"{BASE}/api/v1/weibo/user/info", headers=HEADERS,
    json={"uid": "7277477906"}).json()
posts = requests.post(f"{BASE}/api/v1/weibo/user/posts", headers=HEADERS,
    json={"uid": "7277477906", "page": 1}).json()

# 2. A post and its comments
post = requests.post(f"{BASE}/api/v1/weibo/post", headers=HEADERS,
    json={"id": "5092682368025584", "is_get_long_text": "true"}).json()
comments = requests.post(f"{BASE}/api/v1/weibo/post/comments", headers=HEADERS,
    json={"id": "5092682368025584", "count": 50}).json()

# 3. Realtime keyword search and the hot-search board
realtime = requests.post(f"{BASE}/api/v1/weibo/search/realtime", headers=HEADERS,
    json={"query": "yu7"}).json()
hot = requests.post(f"{BASE}/api/v1/weibo/hot-search", headers=HEADERS,
    json={}).json()

curl:

bash
curl -s https://api.scavio.dev/api/v1/weibo/hot-search \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Response shape

Every response uses the envelope { data, response_time, credits_used, credits_remaining }. data carries the user / post / search payload, with lists under keys like posts, comments, users, reposts and cursors for pagination.

Guardrails

  • Every Weibo call is 1 credit, including one that comes back empty.
  • user/info needs either uid or custom; the post/* endpoints need id. A missing identifier is a 422, not an outage.
  • Paginate only with the cursor the previous response returned (page, since_id or max_id); stop when it stops advancing.
  • Hot-search and ranking boards are point-in-time snapshots - re-fetch for a fresh board.
  • channel-feed is retired: it returns 410 with code: endpoint_retired and is never billed. Use hot-search or rankings/hot-timeline for what is trending.
  • Never fabricate follower counts, post text, comment text or user details. Only return what the API returned.
  • Posts and comments are written by real people. Summarise; do not build profiles of individuals.

Failure handling

  • 400 means malformed input. Fix and retry.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 422 means a required identifier is missing (e.g. no uid/custom or no id). Supply it and retry.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means the source is temporarily unavailable - wait a few seconds and retry.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

Preguntas frecuentes

¿Qué hace la habilidad de IA Weibo Scraper Api?

Pull Weibo user profiles and posts, post comments/likes/reposts, keyword search across posts, videos, users, topics and images, and the hot-search and ranking boards. 30 endpoints, 1 credit each, structured JSON.

¿Por qué usar Weibo Scraper Api en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Weibo Scraper Api está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Weibo Scraper Api en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/scavio-ai/skills/tree/main/skills/weibo-scraper-api. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Weibo Scraper Api?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Weibo Scraper Api?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Weibo Scraper Api con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Weibo Scraper Api?

Sí. scavio-ai la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇