aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorrrooij <rderooij685@gmail.com>2015-05-11 18:02:25 +0200
committerSergey M․ <dstftw@gmail.com>2015-05-11 23:45:38 +0600
commit968ee176777a1bf4e33cfb849a7241b0ac45d254 (patch)
treeb48c6fbfac161e0c99d8cb86903c1e4362785f4d /youtube_dl/extractor
parent81ed3bb9c0edb9a11b43964459ef57cca5683461 (diff)
[southparkdk] Add extractor
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/__init__.py1
-rw-r--r--youtube_dl/extractor/southpark.py10
2 files changed, 11 insertions, 0 deletions
diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py
index 3368edf7c..de19dfd7a 100644
--- a/youtube_dl/extractor/__init__.py
+++ b/youtube_dl/extractor/__init__.py
@@ -490,6 +490,7 @@ from .soundgasm import (
from .southpark import (
SouthParkIE,
SouthParkDeIE,
+ SouthParkDkIE,
SouthParkEsIE,
SouthParkNlIE
)
diff --git a/youtube_dl/extractor/southpark.py b/youtube_dl/extractor/southpark.py
index 59e31198c..83e5a7659 100644
--- a/youtube_dl/extractor/southpark.py
+++ b/youtube_dl/extractor/southpark.py
@@ -57,3 +57,13 @@ class SouthParkNlIE(SouthParkIE):
'url': 'http://www.southpark.nl/full-episodes/s18e06-freemium-isnt-free',
'playlist_count': 4,
}]
+
+class SouthParkDkIE(SouthParkIE):
+ IE_NAME = 'southpark.dk'
+ _VALID_URL = r'https?://(?:www\.)?(?P<url>southparkstudios\.dk/(?:clips|full-episodes)/(?P<id>.+?)(\?|#|$))'
+ _FEED_URL = 'http://www.southparkstudios.dk/feeds/video-player/mrss/'
+
+ _TESTS = [{
+ 'url': 'http://www.southparkstudios.dk/full-episodes/s18e07-grounded-vindaloop',
+ 'playlist_count': 4,
+ }]