DailymotionIE: There is not necessarily an underscore in a Dailymotion URL.
authorCyril Roelandt <tipecaml@gmail.com>
Sun, 30 Sep 2012 13:30:20 +0000 (15:30 +0200)
committerCyril Roelandt <tipecaml@gmail.com>
Sun, 30 Sep 2012 13:47:37 +0000 (15:47 +0200)
youtube_dl/InfoExtractors.py

index d91221d4d157b5e36036d55a5fa6609094c60dae..dca26a85aaf5a9a375325057570a22009753fb07 100644 (file)
@@ -616,7 +616,7 @@ class MetacafeIE(InfoExtractor):
 class DailymotionIE(InfoExtractor):
        """Information Extractor for Dailymotion"""
 
-       _VALID_URL = r'(?i)(?:https?://)?(?:www\.)?dailymotion\.[a-z]{2,3}/video/([^_/]+)_([^/]+)'
+       _VALID_URL = r'(?i)(?:https?://)?(?:www\.)?dailymotion\.[a-z]{2,3}/video/([^/]+)'
        IE_NAME = u'dailymotion'
 
        def __init__(self, downloader=None):