[southparkdk] Add support for southparkstudios.nu
authorSergey M․ <dstftw@gmail.com>
Sun, 21 Jan 2018 11:42:34 +0000 (18:42 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 21 Jan 2018 11:42:34 +0000 (18:42 +0700)
youtube_dl/extractor/southpark.py

index 48d5db58367146d24074abe439b70c9949929323..da75a43a730334e70f5725a1a41357810cf704de 100644 (file)
@@ -96,7 +96,7 @@ class SouthParkNlIE(SouthParkIE):
 
 class SouthParkDkIE(SouthParkIE):
     IE_NAME = 'southparkstudios.dk'
-    _VALID_URL = r'https?://(?:www\.)?(?P<url>southparkstudios\.dk/(?:clips|full-episodes|collections)/(?P<id>.+?)(\?|#|$))'
+    _VALID_URL = r'https?://(?:www\.)?(?P<url>southparkstudios\.(?:dk|nu)/(?:clips|full-episodes|collections)/(?P<id>.+?)(\?|#|$))'
     _FEED_URL = 'http://www.southparkstudios.dk/feeds/video-player/mrss/'
 
     _TESTS = [{
@@ -109,4 +109,7 @@ class SouthParkDkIE(SouthParkIE):
     }, {
         'url': 'http://www.southparkstudios.dk/collections/2476/superhero-showdown/1',
         'only_matching': True,
+    }, {
+        'url': 'http://www.southparkstudios.nu/collections/2476/superhero-showdown/1',
+        'only_matching': True,
     }]