1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[KeezMoviesIE] Correct return value for embedded videos

This commit is contained in:
rzhxeo 2013-10-27 12:48:09 +01:00
parent 5b11143d05
commit 5da0549581

View file

@ -36,7 +36,7 @@ class KeezMoviesIE(InfoExtractor):
mobj = re.search(r'href="([^"]+)"></iframe>', webpage)
if mobj:
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_url = compat_urllib_parse.unquote(self._html_search_regex(r'video_url=(.+?)&amp;', webpage, u'video_url'))