[downloader:http] add 'validate' option

This commit is contained in:
Mike Fährmann
2023-01-11 15:37:40 +01:00
parent 85bd1cbc89
commit c0d7d2be35
3 changed files with 18 additions and 3 deletions

View File

@@ -3466,6 +3466,19 @@ Description
regardless of this option.
downloader.http.validate
------------------------
Type
``bool``
Default
``true``
Description
Check for invalid responses.
Fail a download when a file does not pass
instead of downloading a potentially broken file.
downloader.ytdl.format
----------------------
Type

View File

@@ -390,7 +390,8 @@
{
"adjust-extensions": true,
"chunk-size": 32768,
"headers": null
"headers": null,
"validate": true
},
"ytdl":