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.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319a231547924f5f5627c6d35658d390d09b128ff48e5cb2df466f7af7684696 |
|
MD5 | f220b94fee7b55694e29b025b037bcd4 |
|
BLAKE2b-256 | f23805deebf2740cdb1170f60fcebadcb4211cc48523c8da0bb120abaaa6b620 |