diff --git a/yt_dlp/extractor/europa.py b/yt_dlp/extractor/europa.py index 9c5e41ddc..7ee3b6e8b 100644 --- a/yt_dlp/extractor/europa.py +++ b/yt_dlp/extractor/europa.py @@ -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')),