mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-21 06:22:51 +08:00
Update xhamster.py
This commit is contained in:
parent
7cd7a8dec5
commit
3982587fee
@ -129,7 +129,7 @@ class XHamsterIE(InfoExtractor):
|
||||
|
||||
initials = self._parse_json(
|
||||
self._search_regex(
|
||||
r'window\.initials\s*=\s*({.+?})\s*;\s*', 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