Skip to main content

A tool to push Bilibili live and dynamic updates to Telegram

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

bili_to_tele-1.0.1.tar.gz (80.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bili_to_tele-1.0.1-py3-none-any.whl (92.6 kB view details)

Uploaded Python 3

File details

Details for the file bili_to_tele-1.0.1.tar.gz.

File metadata

  • Download URL: bili_to_tele-1.0.1.tar.gz
  • Upload date:
  • Size: 80.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for bili_to_tele-1.0.1.tar.gz
Algorithm Hash digest
SHA256 993bcde526ec4d36cd7350acbb7d08b16255cdb2ea00f8e069e76a37321cf3cc
MD5 ed57954a25d5b361374c65038274b78e
BLAKE2b-256 cf0f8218e7e517d564c03c59882aa07d99e3ec61c40a3437674d0bb015a79151

See more details on using hashes here.

File details

Details for the file bili_to_tele-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: bili_to_tele-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 92.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for bili_to_tele-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d3ca29012279125dd11d6b6e954295774bc735f073c2e7f8552d1cb7b48fd48
MD5 ce73a265678cbbb01bb144763aa10488
BLAKE2b-256 5c25844413338212c6e2975ddfc83cb59e789fb12189bb40dc4100d006b72380

See more details on using hashes here.

Supported by

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