[downloader:http] add 'headers' option (#1322)

This commit is contained in:
Mike Fährmann
2021-02-21 19:13:39 +01:00
parent 6b0ecbf6bc
commit 560277394e
2 changed files with 14 additions and 0 deletions

View File

@@ -1843,6 +1843,16 @@ Description
and adjust their filename extensions if they do not match.
downloader.http.headers
-----------------------
Type
``object``
Example
``{"Accept": "image/webp,*/*", "Referer": "https://example.org/"}``
Description
Additional HTTP headers to send when downloading files,
downloader.ytdl.format
----------------------
Type