Skip to content

Executor-Cheng/pyBili

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyBili

This is a python live.bilibili.com helper library.

Function

  • Danmaku helper with GUI.
  • Mac Notification/TTS.
  • A basic music VOD.
  • Auto join/response SmallTV.

Install

$ sudo pip install pybili

Usage

  1. 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.

  2. Run from your favorite shell.

    $ bili-danmuji roomid

Note

  1. How to get the cookies?

    get cookies

  2. 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

  3. How to record the danmakus?

    Install the MongoDB through

    $ brew install mongodb more

License (MIT)

Copyright (c) 2017-2017 kliner

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%