# ReaJason/xhs

基于小红书 Web 端进行的请求封装。https://reajason.github.io/xhs/

Repository: https://github.com/ReaJason/xhs
Canonical: https://ross.abutalabs.com/products/xhs
Language: Python
License: MIT
License Family: permissive
Topics: crawl, python, xhs
Last push: 2025-07-01T08:14:59+00:00

## Health v2 (maintenance only)
Score: 43/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 29, release rhythm 35, longevity 89
- inputs: {"age_days": 1248, "days_push": 428, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2202, forks 453 (observed 2026-08-28T04:06:25.736902+00:00)

## What it is
A Python SDK that wraps requests to the Xiaohongshu (Little Red Book) web platform for extracting data. It provides a programmatic client for crawling posts and related content from xiaohongshu.com.

## Use cases
- scrape xiaohongshu posts with python
- crawl notes from little red book
- extract xhs post data programmatically
- build a dataset from xiaohongshu content
- query xiaohongshu web api from python

## When to choose
- you need a Python client for Xiaohongshu web data
- you want a lightweight pip-installable crawler SDK for xhs

## When to avoid
- you need scraping of other platforms
- you require guaranteed compliance with the site's terms of service
- you need a maintained production-grade API with official support

## Facets
- artifact type: library
- maturity: active
- function: web-scraping, http-client, sdk
- domain: crawlers, social-media, developer-tools
- platform: python
- tags: xiaohongshu, crawler, scraper, api-wrapper

## Member repositories
- ReaJason/xhs (main) score 43

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:25.736902+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:47:01.553405+00:00, confidence not recorded.
  - readme: https://github.com/ReaJason/xhs (fetched 2026-08-28T04:06:25.736902+00:00, sha 4cee78f0495c)
  - registry_pypi: https://pypi.org/pypi/xhs/json (fetched 2026-08-29T10:27:02.453205+00:00, sha 3517cf096f42)
- Data as of 2026-08-30T08:39:29.467469+00:00.
