aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-05-10 22:01:13 +0700
committerSergey M․ <dstftw@gmail.com>2018-05-10 22:01:13 +0700
commit1344d3e169840f6c9d585648c1597da6a2b00ed1 (patch)
tree65a064777af59286524632661d87be886813b20c
parentff8889cd4dfae0ae3758e3d8a496f5724f6dc092 (diff)
[nickbr] Relax _VALID_URL (#13230)
-rw-r--r--youtube_dl/extractor/nick.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nick.py b/youtube_dl/extractor/nick.py
index 256a24d86..5e34d776b 100644
--- a/youtube_dl/extractor/nick.py
+++ b/youtube_dl/extractor/nick.py
@@ -85,7 +85,7 @@ class NickBrIE(MTVServicesInfoExtractor):
https?://
(?:
(?P<domain>(?:www\.)?nickjr|mundonick\.uol)\.com\.br|
- (?:www\.)?nickjr\.nl
+ (?:www\.)?nickjr\.[a-z]{2}
)
/(?:programas/)?[^/]+/videos/(?:episodios/)?(?P<id>[^/?\#.]+)
'''
@@ -98,6 +98,9 @@ class NickBrIE(MTVServicesInfoExtractor):
}, {
'url': 'http://www.nickjr.nl/paw-patrol/videos/311-ge-wol-dig-om-terug-te-zijn/',
'only_matching': True,
+ }, {
+ 'url': 'http://www.nickjr.de/blaze-und-die-monster-maschinen/videos/f6caaf8f-e4e8-4cc1-b489-9380d6dcd059/',
+ 'only_matching': True,
}]
def _real_extract(self, url):