From: Sergey M․ Date: Wed, 8 Apr 2015 20:25:31 +0000 (+0600) Subject: [dailymotion:user] Improve _VALID_URL (Closes #5380) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=af76e8174d1f73e0c44e6bead56a780c665e299d;p=youtube-dl [dailymotion:user] Improve _VALID_URL (Closes #5380) --- diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py index 47d58330b..7615ecd4b 100644 --- a/youtube_dl/extractor/dailymotion.py +++ b/youtube_dl/extractor/dailymotion.py @@ -224,7 +224,7 @@ class DailymotionPlaylistIE(DailymotionBaseInfoExtractor): class DailymotionUserIE(DailymotionPlaylistIE): IE_NAME = 'dailymotion:user' - _VALID_URL = r'https?://(?:www\.)?dailymotion\.[a-z]{2,3}/user/(?P[^/]+)' + _VALID_URL = r'https?://(?:www\.)?dailymotion\.[a-z]{2,3}/(?:old/)?user/(?P[^/]+)' _PAGE_TEMPLATE = 'http://www.dailymotion.com/user/%s/%s' _TESTS = [{ 'url': 'https://www.dailymotion.com/user/nqtv',