diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-04-25 20:24:15 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-04-25 20:24:15 +0600 |
commit | 857f00ed94ea04575a19155d8813b7b599bbd6a5 (patch) | |
tree | 2f8685b5b0a8c720136e5c2e0e0addbaaef58f63 /youtube_dl | |
parent | e4a5e772f2e691a2f462796ad08dea6e04938697 (diff) |
[southpark] Improve some _VALID_URL's
Diffstat (limited to 'youtube_dl')
-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 5c653c8bc..77758bbed 100644 --- a/youtube_dl/extractor/southpark.py +++ b/youtube_dl/extractor/southpark.py @@ -5,7 +5,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' @@ -33,7 +33,7 @@ class SouthParkEsIE(SouthParkIE): class SouthparkDeIE(SouthParkIE): IE_NAME = 'southpark.de' - _VALID_URL = r'https?://(www\.)?(?P<url>southpark\.de/(clips|alle-episoden)/(?P<id>.+?)(\?|#|$))' + _VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.de/(?:clips|alle-episoden)/(?P<id>.+?)(\?|#|$))' _FEED_URL = 'http://www.southpark.de/feeds/video-player/mrss/' _TESTS = [{ |