Saltar al contenido
TakoAPI
Volver a skills

xiaohongshutools

por chocomintx

Web & Frontend Development
4.2kDescargas según clawskills.sh
10Estrellas
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

XiaoHongShu (Little Red Book) data collection and interaction toolkit.

Descripción

Qué hace esta skill

A Python toolkit for scraping and interacting with XiaoHongShu (Little Red Book), a Chinese social media platform. All encryption parameters, including request signatures and cookies, are generated automatically in pure Python. Supports both guest mode and authenticated sessions via a web_session cookie.

All XiaoHongShu encryption and anti-bot signatures are handled in pure Python, so no JavaScript runtime or browser automation is needed.

Cuándo usarla

  • Scraping keyword search results for market research
  • Extracting comments from trending beauty or lifestyle posts
  • Monitoring user profile stats for influencer analysis
  • Collecting home feed content by category for trend tracking
  • Automating follows and likes for engagement campaigns

Flujo de trabajo de ejemplo

ENTRADA

User asks: search for makeup tutorial notes and list their titles and authors

AGENTE
  1. 1

    Creates a session with create_xhs_session(proxy=None, web_session=None)

  2. 2

    Calls xhs_session.apis.note.search_notes('美妆教程')

  3. 3

    Awaits and parses the JSON response

  4. 4

    Iterates over data['data']['items'] to extract display_title and user nickname

  5. 5

    Closes the session with xhs_session.close_session()

SALIDA

A printed list of note titles and author nicknames from the search results

Requisitos

  • XiaoHongShu account and web_session cookie (required for authenticated operations such as following users, liking posts, or accessing search when guest mode returns a -104 error)

Instalación

clawhub install chocomintx/xiaohongshutools

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces