mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
parent
5ed05f26ad
commit
62ae19ff76
@ -138,7 +138,8 @@ class XHamsterIE(InfoExtractor):
|
|||||||
|
|
||||||
initials = self._parse_json(
|
initials = self._parse_json(
|
||||||
self._search_regex(
|
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='{}'),
|
default='{}'),
|
||||||
video_id, fatal=False)
|
video_id, fatal=False)
|
||||||
if initials:
|
if initials:
|
||||||
|
Loading…
Reference in New Issue
Block a user