diff options
author | rrooij <rderooij685@gmail.com> | 2015-05-05 08:59:09 +0200 |
---|---|---|
committer | rrooij <rderooij685@gmail.com> | 2015-05-05 08:59:09 +0200 |
commit | e10dc0e1f0f6b33b60a601bf7855e76e7813ecde (patch) | |
tree | c830039ec2ed009cf1249e9aa64cacac11183f09 /youtube_dl/extractor/southpark.py | |
parent | ce5c1ae51703d1be4e486cbe8d3dfc2ab16372a8 (diff) |
[southparknl] Add extractor for southpark.nl
Diffstat (limited to 'youtube_dl/extractor/southpark.py')
-rw-r--r-- | youtube_dl/extractor/southpark.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/youtube_dl/extractor/southpark.py b/youtube_dl/extractor/southpark.py index e3b73295c..ebcd2ed04 100644 --- a/youtube_dl/extractor/southpark.py +++ b/youtube_dl/extractor/southpark.py @@ -46,3 +46,18 @@ class SouthparkDeIE(SouthParkIE): 'description': 'Cartman explains the benefits of "Shitter" to Stan, Kyle and Craig.', }, }] + + +class SouthParkNlIE(SouthParkIE): + IE_NAME = 'southpark.nl' + _VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.nl/(?:clips|full-episodes)/(?P<id>.+?)(\?|#|$))' + _FEED_URL = 'http://www.southpark.nl/feeds/video-player/mrss/' + + _TESTS = [{ + 'url': 'http://www.southpark.nl/full-episodes/s18e06-freemium-isnt-free', + 'info_dict': { + 'id': 'c56b9a1f-0e42-4942-89e0-8e721d814c5c', + 'ext': 'mp4', + 'title': 'South Park 1806: Freemium Isn\'t Free - Act 3', + }, + }] |