[downloader:http] add 'adjust-extensions' option
This commit is contained in:
@@ -1107,6 +1107,16 @@ Description Certificate validation during file downloads.
|
||||
=========== =====
|
||||
|
||||
|
||||
downloader.http.adjust-extensions
|
||||
---------------------------------
|
||||
=========== =====
|
||||
Type ``bool``
|
||||
Default ``true``
|
||||
Description Check the file headers of ``jpg``, ``png``, and ``gif`` files
|
||||
and adjust their filename extensions if they do not match.
|
||||
=========== =====
|
||||
|
||||
|
||||
downloader.ytdl.format
|
||||
----------------------
|
||||
=========== =====
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
|
||||
"http":
|
||||
{
|
||||
"adjust-extensions": true,
|
||||
"mtime": true,
|
||||
"rate": null,
|
||||
"retries": 4,
|
||||
|
||||
Reference in New Issue
Block a user