特性
- 极速的直播推送,通过连接直播间实现
- 接近于手机端效果的绘图式动态推送
- 详细的直播数据统计
- 群内数据查询、榜单查询
快速开始
项目依赖于 Redis 进行持久化的直播相关数据存储,依赖于 Mirai 和 mirai-http 进行消息推送
安装
pip install starbot-bilibili
启动
推送配置的 JSON 文件可使用官网的 在线制作工具 生成
详细文档及 config 中所需的 credential 获取方式请参见 部署文档
from starbot.core.bot import StarBot
from starbot.core.datasource import JsonDataSource
from starbot.utils import config
config.set_credential(sessdata="B站账号的sessdata", bili_jct="B站账号的bili_jct", buvid3="B站账号的buvid3")
datasource = JsonDataSource("推送配置.json")
bot = StarBot(datasource)
bot.run()
鸣谢
- bilibili-api: 哔哩哔哩的 API 调用模块
- bilibili-API-collect: 哔哩哔哩 API 收集整理
- mirai: 高效率 QQ 机器人支持库
- Ariadne: 一个优雅且完备的 Python QQ 自动化框架,基于 Mirai API HTTP v2
- Fake-QQ-Chat-Window: 伪 QQ 移动客户端聊天窗口,当前官网的推送配置在线预览基于此项目魔改实现
- 为本项目赞赏支持的小伙伴们: 名单较长,详细名单可点击链接在官网查看
- JetBrains: 为开源项目免费提供的优秀 IDE
Star History
Metadata
Release files for bili-to-tele 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bili_to_tele-1.0.1.tar.gz | 80.6 kB | Without provenance | Details for bili_to_tele-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bili_to_tele-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for bili_to_tele-1.0.1-py3-none-any.whl |
Total release size: 173.2 kB
Release files / bili_to_tele-1.0.1.tar.gz
| Download URL | bili_to_tele-1.0.1.tar.gz |
|---|---|
| Size | 80.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
993bcde526ec4d36cd7350acbb7d08b16255cdb2ea00f8e069e76a37321cf3cc
|
|
BLAKE2b-256 checksum How to use checksums |
cf0f8218e7e517d564c03c59882aa07d99e3ec61c40a3437674d0bb015a79151
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Release files / bili_to_tele-1.0.1-py3-none-any.whl
| Download URL | bili_to_tele-1.0.1-py3-none-any.whl |
|---|---|
| Size | 92.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d3ca29012279125dd11d6b6e954295774bc735f073c2e7f8552d1cb7b48fd48
|
|
BLAKE2b-256 checksum How to use checksums |
5c25844413338212c6e2975ddfc83cb59e789fb12189bb40dc4100d006b72380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Security for bili-to-tele 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.