one more tranverse

pull/9705/head
Kyle Gonsalves 7 months ago
parent 5f35e17572
commit 89eaee2ff8

@ -1281,7 +1281,8 @@ class BBCIE(BBCCoUkIE): # XXX: Do not subclass from concrete IE
'model', 'blocks', lambda _, v: v['type'] == 'mediaMetadata',
'model'), get_all=False)
if model:
item_id = try_get(model, lambda x: x['versions'][0]['versionId'])
item_id = traverse_obj(model, (
'versions', 0, 'versionId'), get_all=False)
formats, subtitles = self._download_media_selector(item_id)
synopses = model.get('synopses') or {}
entries.append({

Loading…
Cancel
Save