logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: e0ab56571ed553d1fcae90ac78c53a84924ca212
parent 99d6e696fced51bbabc1b70dee347a3990ffb8df
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun, 21 Jan 2018 18:42:34 +0700

[southparkdk] Add support for southparkstudios.nu

Diffstat:

Myoutube_dl/extractor/southpark.py5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 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, }]