Skip to main content

This is a script to record bilibili lives, coding with asyncio

Project description

bilibili-live-recoder

Table of Contents

About

这是一个使用asyncio实现的bilibili直播录制工具.

它会监测房间状态, 在直播开始后自动录制.

它也可以同时录制多个直播(默认最高画质, 请注意带宽是否够用).

它会监测配置文件的改动, 可以在任意时间修改配置文件.

Installing

请保证Python版本不低于3.7

pip install bilibili-live-recorder

Usage

𝅘𝅥𝅮 blr --help
usage: blr [-h] [-c] [-d]

a bilibili live recorder ●REC...

optional arguments:
  -h, --help      show this help message and exit
  -c , --config   location of your live list, default is '$HOME/.config/livelist.toml'
  -d , --dir      directory to save your reording file, default is '$HOME/Videos/bilibili'

配置文件使用toml格式, 样子如下:


[[users]]
# 这里url既可以是主播的个人空间, 也可以是房间
url = "https://space.bilibili.com/2233"

[[users]]
url = "https://live.bilibili.com/6"

默认位置位于$USER/.config/livelist.toml, 默认录制的视频位于$USER/Videos/bilibili

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bilibili-live-recorder, version 0.7.1
Filename, size File type Python version Upload date Hashes
Filename, size bilibili_live_recorder-0.7.1-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bilibili-live-recorder-0.7.1.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page