This is a python live.bilibili.com helper library.
- Danmaku helper with GUI.
- Mac Notification/TTS.
- A basic music VOD.
- Auto join/response SmallTV.
$ sudo pip install pybili
-
Please create a file '.pybili.conf' in your home directory(~).
[cookies] cookies=your_cookie [90012] GiftResponse=false ShowTime=false SmallTVHint=false MacNotification=false MacTTS=false DanmakuColor=blue
Also you can use
$ bili-config
to setup this config file.
-
Run from your favorite shell.
$ bili-danmuji roomid
-
How to get the cookies?
-
How to use the Mac notification? Get an error
/bin/sh: terminal-notifier: command not found
?Install the terminal-notifier through
$ brew install terminal-notifier
-
How to record the danmakus?
Install the MongoDB through
$ brew install mongodb
more
Copyright (c) 2017-2017 kliner