aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/southpark.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-01-21 18:42:34 +0700
committerSergey M․ <dstftw@gmail.com>2018-01-21 18:42:34 +0700
commite0ab56571ed553d1fcae90ac78c53a84924ca212 (patch)
tree38659d8e0f1a8a34f9658e7b6c4f6090808a01db /youtube_dl/extractor/southpark.py
parent99d6e696fced51bbabc1b70dee347a3990ffb8df (diff)
[southparkdk] Add support for southparkstudios.nu
Diffstat (limited to 'youtube_dl/extractor/southpark.py')
-rw-r--r--youtube_dl/extractor/southpark.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/southpark.py b/youtube_dl/extractor/southpark.py
index 48d5db583..da75a43a7 100644
--- a/youtube_dl/extractor/southpark.py
+++ b/youtube_dl/extractor/southpark.py
@@ -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,
}]