[instagram] ensure '_ytdl_manifest_data' exists before DASH DL (#8267)
This commit is contained in:
@@ -95,7 +95,7 @@ class InstagramExtractor(Extractor):
|
|||||||
if videos:
|
if videos:
|
||||||
file["_http_headers"] = videos_headers
|
file["_http_headers"] = videos_headers
|
||||||
text.nameext_from_url(url, file)
|
text.nameext_from_url(url, file)
|
||||||
if videos_dash:
|
if videos_dash and "_ytdl_manifest_data" in post:
|
||||||
file["_fallback"] = (url,)
|
file["_fallback"] = (url,)
|
||||||
file["_ytdl_manifest"] = "dash"
|
file["_ytdl_manifest"] = "dash"
|
||||||
url = f"ytdl:{post['post_url']}{file['num']}.mp4"
|
url = f"ytdl:{post['post_url']}{file['num']}.mp4"
|
||||||
|
|||||||
Reference in New Issue
Block a user