mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 17:18:01 +01:00
parent
5ed05f26ad
commit
62ae19ff76
1 changed files with 2 additions and 1 deletions
|
@ -138,7 +138,8 @@ def get_height(s):
|
|||
|
||||
initials = self._parse_json(
|
||||
self._search_regex(
|
||||
r'window\.initials\s*=\s*({.+?})\s*;', webpage, 'initials',
|
||||
(r'window\.initials\s*=\s*({.+?})\s*;\s*</script>',
|
||||
r'window\.initials\s*=\s*({.+?})\s*;'), webpage, 'initials',
|
||||
default='{}'),
|
||||
video_id, fatal=False)
|
||||
if initials:
|
||||
|
|
Loading…
Reference in a new issue