[dailymotion] Fix extraction of vevo videos (fixes #4168)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 12 Nov 2014 22:32:27 +0000 (23:32 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 12 Nov 2014 22:32:27 +0000 (23:32 +0100)
youtube_dl/extractor/dailymotion.py

index dbcf5d6a72a5a8f44e988b506e2361e6279229ec..fd4bc75b2a91a1ad115a9152bf85debce7880431 100644 (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')