[dl:ytdl] forward '_ytdl_manifest_headers' to formats
This commit is contained in:
@@ -191,6 +191,10 @@ class YoutubeDLDownloader(DownloaderBase):
|
|||||||
else:
|
else:
|
||||||
raise ValueError(f"Unsupported manifest type '{type}'")
|
raise ValueError(f"Unsupported manifest type '{type}'")
|
||||||
|
|
||||||
|
if headers:
|
||||||
|
for fmt in fmts:
|
||||||
|
fmt["http_headers"] = headers
|
||||||
|
|
||||||
info_dict = {
|
info_dict = {
|
||||||
"extractor": "",
|
"extractor": "",
|
||||||
"id" : video_id,
|
"id" : video_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user