mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-15 21:03:18 +00:00
Revert unrelated changes
This commit is contained in:
parent
634a0ac756
commit
bb608d7894
|
@ -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')),
|
||||
|
|
Loading…
Reference in a new issue