diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-04-09 02:25:31 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-04-09 02:25:31 +0600 |
commit | af76e8174d1f73e0c44e6bead56a780c665e299d (patch) | |
tree | 054ca8a769bf17f906fbd418efb7db62e49d89c2 /youtube_dl | |
parent | 402a3efc927538684fb69e23c65a97b19ce4f663 (diff) |
[dailymotion:user] Improve _VALID_URL (Closes #5380)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/dailymotion.py | 2 |
1 files changed, 1 insertions, 1 deletions
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<user>[^/]+)' + _VALID_URL = r'https?://(?:www\.)?dailymotion\.[a-z]{2,3}/(?:old/)?user/(?P<user>[^/]+)' _PAGE_TEMPLATE = 'http://www.dailymotion.com/user/%s/%s' _TESTS = [{ 'url': 'https://www.dailymotion.com/user/nqtv', |