This commit is contained in:
voidptr_t 2024-08-05 21:11:08 +03:00
parent a3170778da
commit d61ea9bed7

View file

@ -48,7 +48,7 @@ def _real_extract(self, url):
'title': item.get('title'), 'title': item.get('title'),
'formats': formats, 'formats': formats,
'thumbnails': [{'url': thumbnail}], 'thumbnails': [{'url': thumbnail}],
'uploader': f'{item.get('channel').get('name')}', 'uploader': item.get('channel').get('name'),
'duration': item.get('uploadFile').get('videoDuration'), 'duration': item.get('uploadFile').get('videoDuration'),
'uploader_id': item.get('channel').get('id'), 'uploader_id': item.get('channel').get('id'),
'view_count': item.get('stats').get('viewTotalCount'), 'view_count': item.get('stats').get('viewTotalCount'),