mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 20:38:11 -05:00
parent
ad0b857f45
commit
5a8a05aebb
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ def _real_extract(self, url):
|
||||||
title = self._og_search_title(webpage)
|
title = self._og_search_title(webpage)
|
||||||
|
|
||||||
urql_state = self._search_json(
|
urql_state = self._search_json(
|
||||||
r'window\.svt\.nyh\.urqlState\s*=', webpage, 'json data', display_id)
|
r'window\.svt\.(?:nyh\.)?urqlState\s*=', webpage, 'json data', display_id)
|
||||||
|
|
||||||
data = traverse_obj(urql_state, (..., 'data', {str}, {json.loads}), get_all=False) or {}
|
data = traverse_obj(urql_state, (..., 'data', {str}, {json.loads}), get_all=False) or {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue