aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/InfoExtractors.py
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2012-09-30 15:30:20 +0200
committerCyril Roelandt <tipecaml@gmail.com>2012-09-30 15:47:37 +0200
commit63ec7b7479fdd3922f777003199c55403381550b (patch)
tree0cceafb268f001c10b88ca40f5696864ac6df831 /youtube_dl/InfoExtractors.py
parent7b6d7001d87ba93386c653f6e8c3a08b32f4ba4c (diff)
DailymotionIE: There is not necessarily an underscore in a Dailymotion URL.
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rw-r--r--youtube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index d91221d4d..dca26a85a 100644
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -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):