diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-01-26 21:49:34 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-01-26 21:49:34 +0700 |
commit | cf0cabbe5011228c78a3d88c1a1b179b10333d6c (patch) | |
tree | 9ad854bef1452f09274ad2f299fb2788b11ddf8d /youtube_dl/extractor/southpark.py | |
parent | 556dbe7fe35667cb061dbf0ee84d3a065ad11055 (diff) |
[cmt,mtv,southpark] Add support for episode URLs (closes #11837)
Diffstat (limited to 'youtube_dl/extractor/southpark.py')
-rw-r--r-- | youtube_dl/extractor/southpark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/southpark.py b/youtube_dl/extractor/southpark.py index 08f8c5744..d8ce416fc 100644 --- a/youtube_dl/extractor/southpark.py +++ b/youtube_dl/extractor/southpark.py @@ -6,7 +6,7 @@ from .mtv import MTVServicesInfoExtractor class SouthParkIE(MTVServicesInfoExtractor): IE_NAME = 'southpark.cc.com' - _VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.cc\.com/(?:clips|full-episodes)/(?P<id>.+?)(\?|#|$))' + _VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.cc\.com/(?:clips|(?:full-)?episodes)/(?P<id>.+?)(\?|#|$))' _FEED_URL = 'http://www.southparkstudios.com/feeds/video-player/mrss' @@ -75,7 +75,7 @@ class SouthParkDeIE(SouthParkIE): class SouthParkNlIE(SouthParkIE): IE_NAME = 'southpark.nl' - _VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.nl/(?:clips|full-episodes)/(?P<id>.+?)(\?|#|$))' + _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 = [{ |