7
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-27 23:30:27 +00:00

[dailymotion] Fix extraction of vevo videos (fixes )

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')