nonebot-plugin-bilinovel
NoneBot2 哔哩轻小说爬虫插件,搜索小说并下载生成 EPUB 电子书
📦 安装
方式一:使用 nb‑cli
nb plugin install nonebot-plugin-bilinovel
方式二:pip 安装插件
pip install nonebot-plugin-bilinovel
安装 Playwright 浏览器内核
playwright install chromium
🎯 使用命令
参数标记约定
< >必填参数,不可省略[ ]可选参数,可以省略
表格
| 指令 | 语法 | 说明 |
|---|---|---|
/sear |
/sear <小说名称> |
搜索哔哩轻小说,返回书本 id |
/down |
/down <书本id> <卷号> [下载格式] |
下载小说并生成 EPUB 或 txt |
搜索示例:
/sear 关于我转生变成史莱姆这档事/sear 游戏人生下载示例:
/down 9 1 epub即下载书籍 id 为 9 的第一卷,导出格式为 epub[下载格式不填默认txt]
⚙️ .env自定义参数配置
可调整参数列表:
# Playwright浏览器无头开关,True:无头 /False:有头
BROWSER_HEADLESS = True #无头情况下epub模式可能获取不到图片
# 章节并发数,并发多容易限流
WORKER_COUNT = 2
⚠️ 使用须知
- 本插件仅用于个人学习研究。
- 请勿高频、大规模爬取网站,避免给目标站点造成压力。
- 下载内容版权归原作者与平台所有。
📁 文件输出
生成的 EPUB 文件将会保存至插件运行目录下。
📝 更新日志
v0.1.0
- 基础小说搜索功能
- 小说章节错峰并发爬取
- EPUB 电子书导出
Metadata
Release files for nonebot-plugin-bilinovel 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_bilinovel-0.1.2.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_bilinovel-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.7 kB
Release files / nonebot_plugin_bilinovel-0.1.2.tar.gz
| Download URL | nonebot_plugin_bilinovel-0.1.2.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30da3bb39a5f20d5d8c3ea64d1e7a66624c79a89a0f47f6c70898bb154ad574e
|
|
BLAKE2b-256 checksum How to use checksums |
cffbdf7c852d33d16899d1a099e69c217b033e48f2ee1fadda45b8ecdab21d0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / nonebot_plugin_bilinovel-0.1.2-py3-none-any.whl
| Download URL | nonebot_plugin_bilinovel-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb8bd1182fc3d76d87c7496c878f263461bc238f21881a7594cc7d729649f40a
|
|
BLAKE2b-256 checksum How to use checksums |
a64b8fea02b87fed5afb3b49e5110414bb887d02ec4ef0a77a0183afac6035ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|