mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[KeezMoviesIE] Correct return value for embedded videos
This commit is contained in:
parent
5b11143d05
commit
5da0549581
@ -36,7 +36,7 @@ def _real_extract(self, url):
|
|||||||
mobj = re.search(r'href="([^"]+)"></iframe>', webpage)
|
mobj = re.search(r'href="([^"]+)"></iframe>', webpage)
|
||||||
if mobj:
|
if mobj:
|
||||||
embedded_url = mobj.group(1)
|
embedded_url = mobj.group(1)
|
||||||
return self.playlist_result([self.url_result(embedded_url)], playlist_id=video_id)
|
return self.url_result(embedded_url)
|
||||||
|
|
||||||
video_title = self._html_search_regex(r'<h1 [^>]*>([^<]+)', webpage, u'title')
|
video_title = self._html_search_regex(r'<h1 [^>]*>([^<]+)', webpage, u'title')
|
||||||
video_url = compat_urllib_parse.unquote(self._html_search_regex(r'video_url=(.+?)&', webpage, u'video_url'))
|
video_url = compat_urllib_parse.unquote(self._html_search_regex(r'video_url=(.+?)&', webpage, u'video_url'))
|
||||||
|
Loading…
Reference in New Issue
Block a user