Revert unrelated changes

This commit is contained in:
sepro 2024-05-09 02:31:21 +02:00
parent 634a0ac756
commit bb608d7894

View file

@ -54,7 +54,7 @@ def get_item(type_, preference):
return items[p]
query = parse_qs(url)
preferred_lang = query.get('sitelang', ('en',))[0]
preferred_lang = query.get('sitelang', ('en', ))[0]
preferred_langs = orderedSet((preferred_lang, 'en', 'int'))
@ -177,7 +177,7 @@ def _real_extract(self, url):
return {
'id': json_info['id'],
'title': traverse_obj(webpage_nextjs, (('mediaItem', 'title'), ('title',)), get_all=False),
'title': traverse_obj(webpage_nextjs, (('mediaItem', 'title'), ('title', )), get_all=False),
'formats': formats,
'subtitles': subtitles,
'release_timestamp': parse_iso8601(json_info.get('startDateTime')),