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

If you're not sure about the file name format, learn more about wheel file names.

ytdlp_plugins-2021.11.7-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file ytdlp_plugins-2021.11.7-py3-none-any.whl.

File metadata

  • Download URL: ytdlp_plugins-2021.11.7-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for ytdlp_plugins-2021.11.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ddbcbb9333429e67a724cc3d2383f29d148c27a6a5cdf31e4c395d4b3f8b4bc3
MD5 7546c228408e71f0fe6f7bd1ce11e5d1
BLAKE2b-256 05b3a791bce9ae2c040d23f99beea3f7d6ef9e5cc8c921f365b603802084dc86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page