[instagram] restore 'video_dash_manifest' downloads (#8364)

fixes regression introduced in b49745d351
This commit is contained in:
Mike Fährmann
2025-10-07 09:08:32 +02:00
parent c1d21e8cb9
commit 338c69e5ed

View File

@@ -100,7 +100,7 @@ class InstagramExtractor(Extractor):
if videos:
file["_http_headers"] = videos_headers
text.nameext_from_url(url, file)
if videos_dash and "_ytdl_manifest_data" in post:
if videos_dash and "_ytdl_manifest_data" in file:
file["_fallback"] = (url,)
file["_ytdl_manifest"] = "dash"
url = f"ytdl:{post['post_url']}{file['num']}.mp4"