mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -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(
|
initials = self._parse_json(
|
||||||
self._search_regex(
|
self._search_regex(
|
||||||
r'window\.initials\s*=\s*({.+?})\s*;\s*', 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…
x
Reference in New Issue
Block a user