command
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Apr 17, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
简介
将 B 站直播开放平台的 WebSocket 转换为 EventStream, EventStream 不需要像 WebSocket 那样处理重连问题
使用
# 安装
go install github.com/shynome/openbilibili-ws2sse@v0.0.2
# 启动
# https://open-live.bilibili.com/open-manage 中个人资料tab获取参数值
openbilibili-ws2sse --key {{access_key_id}} --secret {{access_key_secret}} --appid {{appid}}
另起终端测试
curl 'http://127.0.0.1:7070/?IDCode={{IDCode}}'
碎碎念
不应该贪一时口快说要做的, 做这东西还挺花时间的
Documentation
¶
Copyright © 2024 shynome <shynome@gmail.com>
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.