From: Sergey M․ Date: Sat, 25 Apr 2015 14:24:15 +0000 (+0600) Subject: [southpark] Improve some _VALID_URL's X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=857f00ed94ea04575a19155d8813b7b599bbd6a5;p=youtube-dl [southpark] Improve some _VALID_URL's --- 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\.)?(?Psouthpark\.cc\.com/(clips|full-episodes)/(?P.+?)(\?|#|$))' + _VALID_URL = r'https?://(?:www\.)?(?Psouthpark\.cc\.com/(?:clips|full-episodes)/(?P.+?)(\?|#|$))' _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\.)?(?Psouthpark\.de/(clips|alle-episoden)/(?P.+?)(\?|#|$))' + _VALID_URL = r'https?://(?:www\.)?(?Psouthpark\.de/(?:clips|alle-episoden)/(?P.+?)(\?|#|$))' _FEED_URL = 'http://www.southpark.de/feeds/video-player/mrss/' _TESTS = [{