mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-01-29 22:29:49 +00:00
[SouthPark] Fix southparkstudios.nu
This commit is contained in:
parent
213d1d91bf
commit
1cf845db92
@ -6,7 +6,7 @@ from .mtv import MTVServicesInfoExtractor
|
|||||||
|
|
||||||
class SouthParkIE(MTVServicesInfoExtractor):
|
class SouthParkIE(MTVServicesInfoExtractor):
|
||||||
IE_NAME = 'southpark.cc.com'
|
IE_NAME = 'southpark.cc.com'
|
||||||
_VALID_URL = r'https?://(?:www\.)?(?P<url>southpark(?:\.cc|studios)\.com/(?:clips|(?:full-)?episodes|collections)/(?P<id>.+?)(\?|#|$))'
|
_VALID_URL = r'https?://(?:www\.)?(?P<url>southpark(?:\.cc|studios)\.(?:com|nu)/(?:clips|(?:full-)?episodes|collections)/(?P<id>.+?)(\?|#|$))'
|
||||||
|
|
||||||
_FEED_URL = 'http://feeds.mtvnservices.com/od/feed/intl-mrss-player-feed'
|
_FEED_URL = 'http://feeds.mtvnservices.com/od/feed/intl-mrss-player-feed'
|
||||||
|
|
||||||
@ -108,7 +108,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|nu)/(?:clips|full-episodes|collections)/(?P<id>.+?)(\?|#|$))'
|
_VALID_URL = r'https?://(?:www\.)?(?P<url>southparkstudios\.dk/(?: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 = [{
|
||||||
@ -121,7 +121,4 @@ 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