[dailymotion] Fix extraction of vevo videos (fixes #4168)

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-11-12 23:32:27 +01:00
parent 73689dafbf
commit 9e05d039e0

View file

@ -94,7 +94,7 @@ class DailymotionIE(DailymotionBaseInfoExtractor, SubtitlesInfoExtractor):
# It may just embed a vevo video:
m_vevo = re.search(
r'<link rel="video_src" href="[^"]*?vevo.com[^"]*?videoId=(?P<id>[\w]*)',
r'<link rel="video_src" href="[^"]*?vevo.com[^"]*?video=(?P<id>[\w]*)',
webpage)
if m_vevo is not None:
vevo_id = m_vevo.group('id')