본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

xiaohongshutools

chocomintx 제작

Web & Frontend Development
4.2kclawskills.sh가 보고한 다운로드 수
10스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

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

설명

이 스킬이 하는 일

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.

사용 시점

  • 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

예시 워크플로

입력

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

에이전트
  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()

출력

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

요구 사항

  • 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)

설치

clawhub install chocomintx/xiaohongshutools

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크