Skip to main content

A站/B站/斗鱼/快手/抖音 直播视频录制

Project description

you-live-plus

Live Recorder

A live recorder focus on China mainland livestream sites.
Brother Repo of BilibiliLiveRecorder(java)


Installation

Linux/debian:

    sudo apt-get install python3-pip
    pip3 install you-live-plus --upgrade --user
    add ~/.local/bin to your PATH

Windows:

    install python3 from python.org
    pip install --upgrade you-live-plus

Other Linux: please follow debian

Other OS: please DIY.

Usage

you-lp [-h] [-qn QN] [-debug] [-check] [-delete] [-save_path SAVE_PATH] [-check_path CHECK_PATH]
                [-format FORMAT] [-time_format TIME_FORMAT] [-cookies COOKIES] [-cookies_path COOKIES_PATH]
                liver id

B站/斗鱼/快手/抖音 直播视频录制

positional arguments:
  liver                 要录制的直播源,如 bili,douyu,kuaishou,acfun,douyin
  id                    要录制的房间号,可以从url中直接获取

optional arguments:
  -h, --help            show this help message and exit
  -qn QN, -q QN         录制的清晰度,可以后续输入
  -debug                debug模式
  -check                校准时间戳
  -delete, -d           删除原始文件
  -save_path SAVE_PATH, -sp SAVE_PATH
                        源文件保存路径
  -check_path CHECK_PATH, -chp CHECK_PATH
                        校正后的FLV文件保存路径
  -format FORMAT, -f FORMAT
                        文件命名格式
  -time_format TIME_FORMAT, -tf TIME_FORMAT
                        时间格式
  -cookies COOKIES, -c COOKIES
                        cookie, 当cookies_path未指定时生效
  -cookies_path COOKIES_PATH, -cp COOKIES_PATH
                        指定cookie文件位置
  -save_mp4, -mp4       保存为mp4文件

Example0

Record a live from https://live.bilibili.com/6

you-lp bili 6

Example1

Record a live from https://www.douyu.com/593392, correct the timestamp error and delete the origin files.

you-lp -check -d douyu 593392

Notice:The record on this site(douyu) uses PyExecJS.
You may need some extra installation about the JS Environment for linux OS.
Here’s the guide for Node.js installation

Notice:You may need logged-in cookies to get high quality videos

Example2

Record a live from https://live.kuaishou.com/u/ZFYS8888, speicify the file name you want.

you-lp -format "{name}-{shortId} 的{liver}直播{startTime}" kuaishou ZFYS8888

Notice:You may need cookies(may not logged-in, just skip the captha test) to get room detail information

LICENSE

MIT

Download files

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

Source Distribution

you-live-plus-2.0.0.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

you_live_plus-2.0.0-py2.py3-none-any.whl (26.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file you-live-plus-2.0.0.tar.gz.

File metadata

  • Download URL: you-live-plus-2.0.0.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for you-live-plus-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ba90c24c35938907f07e12bb8f14e4b6ea0b6d7bff37bbb95cdbf74b366bd31a
MD5 adffe1f1676b0f0a79e501e2d105eb23
BLAKE2b-256 c341113c51c5fb587f4b3c67a63ae45d39722c4960f1303f8ddbda6c158790a0

See more details on using hashes here.

File details

Details for the file you_live_plus-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for you_live_plus-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 370220e09520e4007878fceb2de7229163eadb5568f5ced286037874f8ce93ec
MD5 417a79d011b88543f6686b8dc69a50fe
BLAKE2b-256 9caa77bdfaa8757d1254fcf05b9614adfe35e79d3faed666e61f59703c5af924

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