nit, style

This commit is contained in:
Kyle Gonsalves 2024-04-19 10:06:59 -07:00
parent 89eaee2ff8
commit b9af6bf2ce

View file

@ -1281,8 +1281,7 @@ def extract_all(pattern):
'model', 'blocks', lambda _, v: v['type'] == 'mediaMetadata', 'model', 'blocks', lambda _, v: v['type'] == 'mediaMetadata',
'model'), get_all=False) 'model'), get_all=False)
if model: if model:
item_id = traverse_obj(model, ( item_id = traverse_obj(model, ('versions', 0, 'versionId'))
'versions', 0, 'versionId'), get_all=False)
formats, subtitles = self._download_media_selector(item_id) formats, subtitles = self._download_media_selector(item_id)
synopses = model.get('synopses') or {} synopses = model.get('synopses') or {}
entries.append({ entries.append({