[downloader:http] add 'adjust-extensions' option

This commit is contained in:
Mike Fährmann
2019-08-07 22:52:29 +02:00
parent eb7da159e2
commit b7fb93e2b2
4 changed files with 17 additions and 5 deletions

View File

@@ -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
----------------------
=========== =====

View File

@@ -155,6 +155,7 @@
"http":
{
"adjust-extensions": true,
"mtime": true,
"rate": null,
"retries": 4,