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.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

bilibili_live_recorder-0.7.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file bilibili-live-recorder-0.7.1.tar.gz.

File metadata

  • Download URL: bilibili-live-recorder-0.7.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for bilibili-live-recorder-0.7.1.tar.gz
Algorithm Hash digest
SHA256 b8185d75d5d74fc9a6583b96b27aed7bab60f8f0f5ebae19f631a019f1c90799
MD5 c33cf3cf0cb68081ad90f6bf3fd382ea
BLAKE2b-256 721e9638d95f1f912ef1b97c29a4e4ad7a0b11a8b5c63af38655cca82191a11f

See more details on using hashes here.

File details

Details for the file bilibili_live_recorder-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: bilibili_live_recorder-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for bilibili_live_recorder-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8fe41988acf207dbc1d527c4e1dda6757587dd5b95831b03dafaa968d1ae1473
MD5 769f8845096e994e972fd7c3d805ed47
BLAKE2b-256 a7c9e7ee2528c3dbe2f78661e314deb95ddf20e5d179122445405b4f891d2a71

See more details on using hashes here.

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