A youtube-dl extension with pluggable extractors
Project description
dl-plus
A youtube-dl extension with pluggable extractors
Description
dl-plus
is an extension and a drop-in replacement of youtube-dl
. The main goal of the project is to add an easy-to-use extractor plugin system to youtube-dl
while maintaining full backward compatibility.
dl-plus
is not a fork of youtube-dl
and does not contain code from youtube-dl
, it is a pure dynamic wrapper (thanks to Python dynamic nature) hacking some youtube-dl
internals.
Installation
-
Install
dl-plus
:-
using pipx:
pipx install dl-plus
-
using pip:
pip install dl-plus
-
-
Install
youtube-dl
or any compatible package (fork):-
using pipx:
pipx inject dl-plus youtube-dl
-
using pip:
pip install youtube-dl
NOTE: if you use a fork where an import path was changed (it is
youtube_dl
by default), you'll need to configure a backend using the config file or the--backend
command line option. -
-
(optional) Install some plugins:
-
using pipx:
pipx inject dl-plus dl-plus-extractor-un1def-wasdtv
-
using pip:
pip install dl-plus-extractor-un1def-wasdtv
-
-
(optional) Create
dl-plus
→youtube-dl
symlink (for apps relying onyoutube-dl
executable inPATH
, e.g., mpv):dlp=$(command -v dl-plus 2>&1) && ln -s "$dlp" "$(dirname "$dlp")/youtube-dl"
Use
ln -sf
instead ofln -s
to overwrite an existingyoutube-dl
executable.
Extractor Plugin Authoring Guide
See docs/extractor-plugin-authoring-guide.md.
Available Extractor Plugins
See docs/available-extractor-plugins.md.
License
The MIT License.
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.