mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-22 14:37:55 +01:00
parent
6cb30ea5ed
commit
a7e348556a
@ -132,7 +132,7 @@ class XHamsterIE(InfoExtractor):
|
||||
|
||||
initials = self._parse_json(
|
||||
self._search_regex(
|
||||
r'window\.initials\s*=\s*({.+?})\s*;\s*\n', webpage, 'initials',
|
||||
r'window\.initials\s*=\s*({.+?})\s*;', webpage, 'initials',
|
||||
default='{}'),
|
||||
video_id, fatal=False)
|
||||
if initials:
|
||||
|
Loading…
Reference in New Issue
Block a user