From: Cyril Roelandt Date: Sun, 30 Sep 2012 13:30:20 +0000 (+0200) Subject: DailymotionIE: There is not necessarily an underscore in a Dailymotion URL. X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=63ec7b7479fdd3922f777003199c55403381550b;p=youtube-dl.git DailymotionIE: There is not necessarily an underscore in a Dailymotion URL. --- 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):