% git clone https://github.com/thep0y/lsar
% cd lsar
% yarn
% LOG_LEVEL=1 yarn build
yarn run v1.22.19
$ tsc && node ./dist/build.js
15:31:37.966 DEB > 原权限 33261
Done in 1.14s.
% node dist/main.js
Usage: lsar [options] [command]
能够获取斗鱼、B站直播源的命令行工具
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
douyu <roomID> 解析斗鱼直播源(支持靓号)
bili [options] 解析B站直播源。
可以使用房间ID或房间链接作为传入参数。
help [command] display help for command