]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[nickjr] Add support for nickelodeonjunior.fr (#22246)
authorPatrick Dessalle <patrick.dessalle@gmail.com>
Sun, 1 Sep 2019 17:59:57 +0000 (19:59 +0200)
committerSergey M <dstftw@gmail.com>
Sun, 1 Sep 2019 17:59:57 +0000 (00:59 +0700)
youtube_dl/extractor/nick.py

index 5e34d776bd799490ac21282fed822cc52d467f75..2e8b302ac856ecf22baf2b72b0ae721784be9961 100644 (file)
@@ -85,7 +85,8 @@ class NickBrIE(MTVServicesInfoExtractor):
                     https?://
                         (?:
                             (?P<domain>(?:www\.)?nickjr|mundonick\.uol)\.com\.br|
-                            (?:www\.)?nickjr\.[a-z]{2}
+                            (?:www\.)?nickjr\.[a-z]{2}|
+                            (?:www\.)?nickelodeonjunior\.fr
                         )
                         /(?:programas/)?[^/]+/videos/(?:episodios/)?(?P<id>[^/?\#.]+)
                     '''
@@ -101,6 +102,9 @@ class NickBrIE(MTVServicesInfoExtractor):
     }, {
         'url': 'http://www.nickjr.de/blaze-und-die-monster-maschinen/videos/f6caaf8f-e4e8-4cc1-b489-9380d6dcd059/',
         'only_matching': True,
+    }, {
+        'url': 'http://www.nickelodeonjunior.fr/paw-patrol-la-pat-patrouille/videos/episode-401-entier-paw-patrol/',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):