Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

starbot-bilibili-2.0.11.tar.gz (20.9 MB view details)

Uploaded Source

File details

Details for the file starbot-bilibili-2.0.11.tar.gz.

File metadata

  • Download URL: starbot-bilibili-2.0.11.tar.gz
  • Upload date:
  • Size: 20.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for starbot-bilibili-2.0.11.tar.gz
Algorithm Hash digest
SHA256 cf242398d37751cb7e50d53c546882c2d73929f5a4e87cb78eac470f36743385
MD5 847e69a285cb58cd07f3e5a10bca8e98
BLAKE2b-256 10d5c472d10d0220e11e50dbc8b5d135dffdbec31e7c7873771fa4dcfbe95c8c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page