[dl:ytdl] forward '_ytdl_manifest_headers' to formats

This commit is contained in:
Mike Fährmann
2025-12-10 18:31:25 +01:00
parent d5f4a3f5b0
commit c2c00d1779

View File

@@ -191,6 +191,10 @@ class YoutubeDLDownloader(DownloaderBase):
else:
raise ValueError(f"Unsupported manifest type '{type}'")
if headers:
for fmt in fmts:
fmt["http_headers"] = headers
info_dict = {
"extractor": "",
"id" : video_id,