[instagram] fix video preview archive IDs (#2135, #4455)

This commit is contained in:
Mike Fährmann
2023-08-23 12:29:32 +02:00
parent 92f98e6f5e
commit fdfb22c91f

View File

@@ -90,7 +90,9 @@ class InstagramExtractor(Extractor):
file["_http_headers"] = video_headers
text.nameext_from_url(url, file)
yield Message.Url, url, file
if not previews:
if previews:
file["media_id"] += "p"
else:
continue
url = file["display_url"]