mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-27 19:04:32 +01:00
[intldropout] adjusted regex to recent changes
This commit is contained in:
parent
b51ee09de1
commit
7b34e67aa2
@ -62,7 +62,7 @@ class IntlDropoutIE(VHXEmbedIE):
|
||||
|
||||
video = self._html_search_regex(r'<iframe[^>]*"(?P<embed>https://embed.vhx.tv/videos/[0-9]+[^"]*)"[^>]*>', webpage, 'embed')
|
||||
video_id = self._search_regex(r'https://embed.vhx.tv/videos/(?P<id>[0-9]+)', video, 'id')
|
||||
video_title = self._html_search_regex(r'<h1 class="[^"]*video-title[^"]*"[^>]*><strong>(?P<title>[^<]+)<', webpage, 'title', fatal=False)
|
||||
video_title = self._html_search_regex(r'<h1 class="[^"]*video-title[^"]*"[^>]*>\s*<strong>(?P<title>[^<]+)<', webpage, 'title', fatal=False)
|
||||
return self.url_result(video, video_id=video_id, video_title=video_title)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user