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

[xhamster] Improve initials regex (#26526) (closes #26353)

parent 5ed05f26
......@@ -138,7 +138,8 @@ class XHamsterIE(InfoExtractor):
initials = self._parse_json(
r'window\.initials\s*=\s*({.+?})\s*;', webpage, 'initials',
r'window\.initials\s*=\s*({.+?})\s*;'), webpage, 'initials',
video_id, fatal=False)
if initials:
Supports Markdown
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