[funnyordie] Fix video url extraction

pull/1433/merge
Jaime Marquínez Ferrándiz 2013-09-20 13:05:34 +02:00
parent 63037593c0
commit 1a810f0d4e
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ class FunnyOrDieIE(InfoExtractor):
video_id = mobj.group('id')
webpage = self._download_webpage(url, video_id)
video_url = self._search_regex(r'type="video/mp4" src="(.*?)"',
video_url = self._search_regex(
[r'type="video/mp4" src="(.*?)"', r'src="([^>]*?)" type=\'video/mp4\''],
webpage, u'video URL', flags=re.DOTALL)
info = {