https://github.com/ReaJason/xhs
基于小红书 Web 端进行的请求封装。https://reajason.github.io/xhs/
https://github.com/ReaJason/xhs
crawl python xhs
Last synced: 21 days ago
JSON representation
基于小红书 Web 端进行的请求封装。https://reajason.github.io/xhs/
- Host: GitHub
- URL: https://github.com/ReaJason/xhs
- Owner: ReaJason
- License: mit
- Created: 2023-04-03T04:48:22.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T02:33:59.000Z (2 months ago)
- Last Synced: 2025-03-31T17:06:12.934Z (25 days ago)
- Topics: crawl, python, xhs
- Language: Python
- Homepage:
- Size: 425 KB
- Stars: 1,478
- Watchers: 17
- Forks: 370
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
🍰xhs[](https://pypi.org/project/xhs/)
[](https://pepy.tech/project/xhs)
[](https://github.com/ReaJason/xhs/blob/master/LICENSE)
[](https://reajason.github.io/xhs/)
[](https://github.com/ReaJason/xhs/actions/workflows/test.yml)
[](https://github.com/ReaJason/xhs/actions/workflows/pypi.yml)> **Warning**
>
> The primary purpose of this repository is to practice my Python skills. It is important to note that web crawling may
> be considered illegal, and therefore, it is crucial to refrain from exerting any pressure or engaging in unauthorized
> activities on websites.**xhs** is a crawling tool designed to extract data from [xiaohongshu website](https://www.xiaohongshu.com/explore)
## Usage
xhs is available on PyPI:
```console
$ python -m pip install xhs
```if you want the latest version, you can install from git:
```console
$ python -m pip install git+https://github.com/ReaJason/xhs
```### Basic Usage
> maybe now is more complex, Thanks [@NanmiCoder](https://github.com/NanmiCoder)
Please find in the [document](https://reajason.github.io/xhs/basic)