[southparkdk] Add support for southparkstudios.nu

pull/8/head
Sergey M․ 7 years ago
parent 99d6e696fc
commit e0ab56571e
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -96,7 +96,7 @@ class SouthParkNlIE(SouthParkIE):
class SouthParkDkIE(SouthParkIE): class SouthParkDkIE(SouthParkIE):
IE_NAME = 'southparkstudios.dk' 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/' _FEED_URL = 'http://www.southparkstudios.dk/feeds/video-player/mrss/'
_TESTS = [{ _TESTS = [{
@ -109,4 +109,7 @@ class SouthParkDkIE(SouthParkIE):
}, { }, {
'url': 'http://www.southparkstudios.dk/collections/2476/superhero-showdown/1', 'url': 'http://www.southparkstudios.dk/collections/2476/superhero-showdown/1',
'only_matching': True, 'only_matching': True,
}, {
'url': 'http://www.southparkstudios.nu/collections/2476/superhero-showdown/1',
'only_matching': True,
}] }]

Loading…
Cancel
Save