Unverified Commit a7e34855 authored by TheRealDude2's avatar TheRealDude2 Committed by GitHub
Browse files

[xhamster] Fix extraction (closes #26157) (#26254)

parent 6cb30ea5
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment