1
0
Fork 0

[cleanup] Fix infodict returned fields (#8906)

Authored by: seproDev
This commit is contained in:
sepro 2024-03-08 23:36:41 +01:00 committed by GitHub
commit f4f9f6d00e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
74 changed files with 230 additions and 274 deletions

View file

@ -65,7 +65,7 @@ class CPACIE(InfoExtractor):
'title': title,
'description': str_or_none(content['details'].get('description_%s_t' % (url_lang, ))),
'timestamp': unified_timestamp(content['details'].get('liveDateTime')),
'category': [category] if category else None,
'categories': [category] if category else None,
'thumbnail': urljoin(url, str_or_none(content['details'].get('image_%s_s' % (url_lang, )))),
'is_live': is_live(content['details'].get('type')),
}