aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-26 22:16:47 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-26 22:16:47 +0600
commit5406af92bc3f88b9fe4f26fe20bdaaf0b4968c32 (patch)
tree6b63dd6d1b44c7d838efed6c9e190fbbd0c93fa0
parent7d65242dc3c0c3306b775f0663d325ba55b62379 (diff)
[dailymotion:user] Fix _VALID_URL
-rw-r--r--youtube_dl/extractor/dailymotion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py
index d8f9eb13f..70aa4333c 100644
--- a/youtube_dl/extractor/dailymotion.py
+++ b/youtube_dl/extractor/dailymotion.py
@@ -225,7 +225,7 @@ class DailymotionPlaylistIE(DailymotionBaseInfoExtractor):
class DailymotionUserIE(DailymotionPlaylistIE):
IE_NAME = 'dailymotion:user'
- _VALID_URL = r'https?://(?:www\.)?dailymotion\.[a-z]{2,3}/(?:(?:old/)?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',