From: Sergey M․ Date: Sun, 21 Jan 2018 11:42:34 +0000 (+0700) Subject: [southparkdk] Add support for southparkstudios.nu X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e0ab56571ed553d1fcae90ac78c53a84924ca212;p=youtube-dl [southparkdk] Add support for southparkstudios.nu --- 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\.)?(?Psouthparkstudios\.dk/(?:clips|full-episodes|collections)/(?P.+?)(\?|#|$))' + _VALID_URL = r'https?://(?:www\.)?(?Psouthparkstudios\.(?:dk|nu)/(?:clips|full-episodes|collections)/(?P.+?)(\?|#|$))' _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, }]