Compare commits

..

No commits in common. "c14e568f004ae94fa60f83d9843e6ff28e3326c1" and "296c05484f1270571f05721eb623350e1eeada31" have entirely different histories.

View File

@ -64,13 +64,13 @@ class AmadeusTVIE(InfoExtractor):
'display_id': display_id, 'display_id': display_id,
'formats': formats, 'formats': formats,
**traverse_obj(video_data, { **traverse_obj(video_data, {
'title': ('videoInfo', 'basicInfo', 'name', {str}), 'title': ('videoInfo', 'basicInfo', 'name'),
'thumbnail': ('coverInfo', 'coverUrl', {url_or_none}), 'thumbnail': ('coverInfo', 'coverUrl', {url_or_none}),
'duration': ('videoInfo', 'sourceVideo', ('floatDuration', 'duration'), {float_or_none}), 'duration': ('videoInfo', 'sourceVideo', ('floatDuration', 'duration'), {float_or_none}),
}, get_all=False), }, get_all=False),
**traverse_obj(nuxt_data, ('item', { **traverse_obj(nuxt_data, ('item', {
'title': (('title', 'title_en', 'title_cn'), {str}), 'title': (('title', 'title_en', 'title_cn'), ),
'description': (('description', 'description_en', 'description_cn'), {str}), 'description': (('description', 'description_en', 'description_cn'), ),
'timestamp': ('date', {parse_iso8601}), 'timestamp': ('date', {parse_iso8601}),
'view_count': ('view', {int_or_none}), 'view_count': ('view', {int_or_none}),
}), get_all=False), }), get_all=False),