mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 17:22:31 +01:00
[southparkdk] Add support for southparkstudios.nu
This commit is contained in:
parent
99d6e696fc
commit
e0ab56571e
@ -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…
Reference in New Issue
Block a user