a plugin manager for yt-dlp
Project description
a plugin manager for yt-dlp
about ytdlp-plugins
ytdlp-plugins
extends the possibilities of yt-dlp by allowing to install new extractors from python packages.
For example: currently yt-dlp has very limited support for brighteon.com videos.
But you can install the ytdlp-brighteon package (pip install ytdlp-brighteon
) and now you have full support for livestreams, channels and playlists:
>>> ytdlp-plugins https://brighteon.tv -F
[brighteontv] live: Downloading webpage
[brighteontv] live: Downloading webpage
[brighteontv] brighteontv-daily-show: Downloading m3u8 information
[info] Available formats for brighteontv-daily-show:
ID EXT RESOLUTION | TBR PROTO | VCODEC VBR ACODEC ABR
-------- --- ---------- - ----- ------ - ------- ----- ------- ----
hls-240p mp4 426x240 | 264k m3u8_n | unknown 264k unknown 0k
hls-360p mp4 640x360 | 914k m3u8_n | unknown 914k unknown 0k
hls-720p mp4 1280x720 | 2628k m3u8_n | unknown 2628k unknown 0k
these plugin packages are currently available:
about yt-dlp
yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The main focus of this project is adding new features and patches while also keeping up to date with the original project
Note that all plugins are imported even if not invoked, and that there are no checks performed on plugin code. Use plugins at your own risk and only if you trust the code
installation
You can install ytdlp-lugins via pip:
-
Use PyPI package:
python3 -m pip install --upgrade ytdlp-plugins
-
Install from Github branch:
python3 -m pip3 install -U https://github.com/flashdagger/ytdlp-plugins/archive/refs/heads/master.zip
Note that on some systems, you may need to use py
or python
instead of python3
running example
ytdlp-plugins enables all plugins and forwards all parameters to yt-dlp:
ytdlp-plugins --list-extractors
or
python3 -m ytdlp-plugins --list-extractors
running tests
You can run the extractor unittests on all installed plugins:
python3 -m unittest ytdlp_plugins.test_download
or with pytest
pytest --pyargs ytdlp_plugins.test_download
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for ytdlp_plugins-2021.11.5.post4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c28d1f18b494879a7b73a366e52ceb3e8f773223048818de3b07b9deddd85cc5 |
|
MD5 | 8f5bbb9e8fd3152f037990fd75bb114c |
|
BLAKE2b-256 | 34d7553337812ebdf1e7497b987acde0d8a6466d0eb84b66c292b2c15ac33216 |