Skip to main content

nonebot-plugin-xiaohongshu

✨ 基于 NoneBot2 的小红书去水印解析插件 ✨

license pypi python

📖 介绍

这是一个用于 NoneBot2 的小红书解析插件,当发送包含小红书链接的消息时会自动解析并发送无水印的图片或视频。

主要功能:

  • 🔗 自动识别:支持小红书分享链接
  • 💧 去水印:自动提取高清无水印图片或视频
  • 📦 智能合并
    • 图片/视频数量 ≤ 3:直接发送媒体消息
    • 图片/视频数量 > 3:合并转发防止刷屏
  • 🔌 API 支持:支持配置外部 API 接口,保证解析稳定性

💿 安装

使用 nb-cli 安装

nb plugin install nonebot-plugin-xiaohongshu

使用 pip 安装

pip install nonebot-plugin-xiaohongshu

⚙️ 配置(可选)

在 NoneBot2 项目的 .env 文件中添加以下配置(可选):

配置项 类型 默认值 说明
XHS_API_URL str https://example.com 小红书解析 API 接口地址

说明

  1. 插件默认使用免费公开 API,开箱即用。
  2. 如遇到接口失效或解析失败,请自行部署小红书解析 API 并在 .env 中配置接口

🎉 使用

触发方式:

直接在群聊或私聊中发送包含小红书链接的消息即可。

⚠️ 免责声明

  1. 本插件仅供学习和交流使用,请勿用于非法用途。
  2. 插件核心功能依赖第三方 API,无法保证 100% 的可用性。
  3. 任何因使用本插件产生的问题,开发者不承担任何责任。
  4. 小红书数据版权归原作者所有。

许可证

MIT

Release files for nonebot-plugin-xiaohongshu 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-xiaohongshu 0.1.4
File Size Uploaded
nonebot_plugin_xiaohongshu-0.1.4.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-xiaohongshu 0.1.4
File Interpreter ABI Platform
nonebot_plugin_xiaohongshu-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / nonebot_plugin_xiaohongshu-0.1.4.tar.gz

Download URL nonebot_plugin_xiaohongshu-0.1.4.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b877c23b836ec053cab34a78fc577a3cc3ce7b94055bbd0de574b3908e9e5c68
BLAKE2b-256 checksum
How to use checksums
e47afcdaf92818984b8a9afb1e0e03c9c69d964bb150997e8f4dfd07cd6a3f0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / nonebot_plugin_xiaohongshu-0.1.4-py3-none-any.whl

Download URL nonebot_plugin_xiaohongshu-0.1.4-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1d2c8f464d191acd2adcde4ef53b475394dbc3cc01b244fe0435212c6c21473
BLAKE2b-256 checksum
How to use checksums
96a43ab7c1a93e2e6bf2e98e48597d7123a7996b72c08de5396a771ba1cfb1d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page