[PMVHaven] Dont strip, use _search_regex

This commit is contained in:
Nodude 2024-07-07 17:34:54 +02:00
parent 2472bc97cd
commit 45cf901047
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class PMVHavenIE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
data = self._html_search_regex(r'<script.*id="__NUXT_DATA__".*>(.+?)</script>', webpage, 'json data')
data = self._search_regex(r'<script.*id="__NUXT_DATA__".*>(.+?)</script>', webpage, 'json data search')
data = json.loads(data)
# Data contains "pointers", so we gotta follow them