基于 bilibiliscript 项目的命令行工具
make install
- 根据提示将路径写入到
PATH
中 source ~/.zshrc
或source ~/.bashrc
即可编译完成
- 默认:
- 参数说明:
- -i, --article_id: article business id
- -c, --cookie: cookie in request header
- -x, --xcsrf: x-csrf in request header
- 例:
bs run -i <id> -c <cookies> -x <x-csrf>
- 参数说明:
- 定时功能:
-
参数说明:
- -s, --starttime: 盖楼开始时间
- -e, --endtime: 盖楼结束时间
-
例:
bs run -i <id> -c <cookies> -x <x-csrf> \ -s '2022-07-22 18:00:00' -e '2022-07-22 19:00:00'
-
- 参数说明:
- -i, --article_id: article business id
- -c, --cookie: cookie in request header
- -x, --xcsrf: x-csrf in request header
- -n, --floor_num: target floor num
- 例:
bs floor -i <id> -c <cookies> -x <x-csrf> \ -n 1000