mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-15 15:52:38 +00:00
parent
6cb30ea5ed
commit
a7e348556a
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class XHamsterIE(InfoExtractor):
|
||||||
|
|
||||||
initials = self._parse_json(
|
initials = self._parse_json(
|
||||||
self._search_regex(
|
self._search_regex(
|
||||||
r'window\.initials\s*=\s*({.+?})\s*;\s*\n', webpage, 'initials',
|
r'window\.initials\s*=\s*({.+?})\s*;', webpage, 'initials',
|
||||||
default='{}'),
|
default='{}'),
|
||||||
video_id, fatal=False)
|
video_id, fatal=False)
|
||||||
if initials:
|
if initials:
|
||||||
|
|
Loading…
Reference in a new issue