1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-30 21:29:36 +01:00

[dailymotion:user] Fix _VALID_URL

This commit is contained in:
Sergey M․ 2015-05-26 22:16:47 +06:00
parent 7d65242dc3
commit 5406af92bc

View File

@ -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',