[instagram] ensure '_ytdl_manifest_data' exists before DASH DL (#8267)

This commit is contained in:
Mike Fährmann
2025-09-22 15:01:00 +02:00
parent 2a23d482b4
commit b49745d351

View File

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