Skip to main content

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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ytdlp_plugins-2021.11.5.post1-py3-none-any.whl (13.6 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