[ytdl] support specifying filesystem paths as 'module' (#6991)

This commit is contained in:
Mike Fährmann
2025-02-14 19:58:25 +01:00
parent 7ae09c6b29
commit 182b544217
3 changed files with 14 additions and 6 deletions

View File

@@ -5184,11 +5184,15 @@ Description
extractor.ytdl.module
---------------------
Type
``string``
* ``string``
* |Path|_
Default
``null``
Example
* ``"yt-dlp"``
* ``"/home/user/.local/lib/python3.13/site-packages/youtube_dl"``
Description
Name of the ``ytdl`` Python module to import.
Name or filesystem path of the ``ytdl`` Python module to import.
Setting this to ``null`` will try to import ``"yt_dlp"``
followed by ``"youtube_dl"`` as fallback.
@@ -5644,11 +5648,15 @@ Description
downloader.ytdl.module
----------------------
Type
``string``
* ``string``
* |Path|_
Default
``null``
Example
* ``"yt-dlp"``
* ``"/home/user/.local/lib/python3.13/site-packages/youtube_dl"``
Description
Name of the ``ytdl`` Python module to import.
Name or filesystem path of the ``ytdl`` Python module to import.
Setting this to ``null`` will try to import ``"yt_dlp"``
followed by ``"youtube_dl"`` as fallback.