[nickbr] Relax _VALID_URL (#13230)
authorSergey M․ <dstftw@gmail.com>
Thu, 10 May 2018 15:01:13 +0000 (22:01 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 10 May 2018 15:01:13 +0000 (22:01 +0700)
youtube_dl/extractor/nick.py

index 256a24d86fb27c5f5fe905311f134c8c1fcffdba..5e34d776bd799490ac21282fed822cc52d467f75 100644 (file)
@@ -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):