Skip to main content

logo

PyPI Python License STARS

一个极速,多功能的哔哩哔哩推送机器人

特性

  • 极速的直播推送,通过连接直播间实现
  • 接近于手机端效果的绘图式动态推送
  • 详细的直播数据统计
  • 群内数据查询、榜单查询

快速开始

项目依赖于 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()

鸣谢

Star History

Star History Chart

Metadata

Release files for starbot-bilibili 2.0.18

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

Source distribution (sdist)

Source distribution for starbot-bilibili 2.0.18
File Size Uploaded Provenance Actions
starbot-bilibili-2.0.18.tar.gz 20.9 MB Without provenance Details for starbot-bilibili-2.0.18.tar.gz

Release files / starbot-bilibili-2.0.18.tar.gz

Download URL starbot-bilibili-2.0.18.tar.gz
Size 20.9 MB
Tags Source
SHA-256 checksum
How to use checksums
331a580216c204e500c7fb1dd279c54a60b018f4cdfb8c7daa4aecb74a6e49fc
BLAKE2b-256 checksum
How to use checksums
b6a739fe7a66167938507a4761fb6116518c6718c9e2e44802c03d8e79eb16bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Security for starbot-bilibili 2.0.18

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.

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