[downloader:ytdl] add 'outtmpl' option (#395)
This commit is contained in:
@@ -1171,6 +1171,25 @@ Description | Route youtube-dl's output through gallery-dl's logging system.
|
||||
=========== =====
|
||||
|
||||
|
||||
downloader.ytdl.outtmpl
|
||||
-----------------------
|
||||
=========== =====
|
||||
Type ``string``
|
||||
Default ``null``
|
||||
Description The `Output Template <https://github.com/ytdl-org/youtube-dl#output-template>`__
|
||||
used to generate filenames for files downloaded with youtube-dl.
|
||||
|
||||
Special values:
|
||||
|
||||
* ``null``: generate filenames with `extractor.*.filename`_
|
||||
* ``"default"``: use youtube-dl's default, currently ``"%(title)s-%(id)s.%(ext)s"``
|
||||
|
||||
Note: An output template other than ``null`` might
|
||||
cause unexpected results in combination with other options
|
||||
(e.g. ``"skip": "enumerate"``)
|
||||
=========== =====
|
||||
|
||||
|
||||
downloader.ytdl.raw-options
|
||||
---------------------------
|
||||
=========== =====
|
||||
|
||||
@@ -169,6 +169,7 @@
|
||||
"format": null,
|
||||
"forward-cookies": true,
|
||||
"mtime": true,
|
||||
"outtmpl": null,
|
||||
"rate": null,
|
||||
"retries": 4,
|
||||
"timeout": 30.0,
|
||||
|
||||
Reference in New Issue
Block a user