diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-07-24 03:40:24 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-07-24 03:40:24 +0600 |
commit | 2b2ee140c3c6f08b4078cc6a5a289e5e74bec2b4 (patch) | |
tree | d70542ed3722b1114e9f3b5c340671e00d589e23 /youtube_dl | |
parent | d97f5cd795b0bd8b6bd636b899bdbc8b10d5907b (diff) |
[dailymotion:user] Fix _VALID_URL (Closes #6346)
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 8fcae7402..5a4987772 100644 --- a/youtube_dl/extractor/dailymotion.py +++ b/youtube_dl/extractor/dailymotion.py @@ -302,7 +302,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}/(?!(?:embed|#|video|playlist)/)(?:(?:old/)?user/)?(?P<user>[^/]+)' _PAGE_TEMPLATE = 'http://www.dailymotion.com/user/%s/%s' _TESTS = [{ 'url': 'https://www.dailymotion.com/user/nqtv', |