[instagram] Fix bug in 013322a95e

Closes #2552
This commit is contained in:
pukkandan 2022-02-02 08:55:43 +05:30
parent 35cd4c4d88
commit c5332d7fbb
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -134,7 +134,7 @@ class InstagramBaseIE(InfoExtractor):
dash_manifest_raw = product_media.get('video_dash_manifest') dash_manifest_raw = product_media.get('video_dash_manifest')
videos_list = product_media.get('video_versions') videos_list = product_media.get('video_versions')
if not (dash_manifest_raw or videos_list): if not (dash_manifest_raw or videos_list):
return None return {}
formats = [{ formats = [{
'format_id': format.get('id'), 'format_id': format.get('id'),