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.

Source Distribution

bilibili-live-recorder-0.7.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

bilibili_live_recorder-0.7-py3-none-any.whl (33.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page