Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reajason/xhs

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

crawl python xhs

Last synced: 1 day ago
JSON representation

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

Awesome Lists containing this project

README

        


🍰xhs

[![PyPI](https://img.shields.io/pypi/v/xhs?label=xhs)](https://pypi.org/project/xhs/)
[![](https://static.pepy.tech/badge/xhs)](https://pepy.tech/project/xhs)
[![](https://img.shields.io/github/license/ReaJason/xhs)](https://github.com/ReaJason/xhs/blob/master/LICENSE)

[![](https://github.com/ReaJason/xhs/actions/workflows/doc.yml/badge.svg)](https://reajason.github.io/xhs/)
[![](https://github.com/ReaJason/xhs/actions/workflows/test.yml/badge.svg)](https://github.com/ReaJason/xhs/actions/workflows/test.yml)
[![](https://github.com/ReaJason/xhs/actions/workflows/pypi.yml/badge.svg)](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)