[downloader:http] add 'validate' option
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -390,7 +390,8 @@
|
||||
{
|
||||
"adjust-extensions": true,
|
||||
"chunk-size": 32768,
|
||||
"headers": null
|
||||
"headers": null,
|
||||
"validate": true
|
||||
},
|
||||
|
||||
"ytdl":
|
||||
|
||||
Reference in New Issue
Block a user