From: Sergey M․ Date: Tue, 2 Dec 2014 16:24:47 +0000 (+0600) Subject: [rts] Improve _VALID_URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c492970b4b2d9b3afa5fe817e4da748816126ebd;p=youtube-dl [rts] Improve _VALID_URL --- diff --git a/youtube_dl/extractor/rts.py b/youtube_dl/extractor/rts.py index c31049c0e..dc59a5e5c 100644 --- a/youtube_dl/extractor/rts.py +++ b/youtube_dl/extractor/rts.py @@ -15,7 +15,7 @@ from ..utils import ( class RTSIE(InfoExtractor): IE_DESC = 'RTS.ch' - _VALID_URL = r'^https?://(?:www\.)?rts\.ch/(?:(?:[^/]+/){2,}(?P[0-9]+)-(?P.+?)\.html|play/tv/[^/]+/video/(?P.+?)\?id=(?P[0-9]+))' + _VALID_URL = r'https?://(?:www\.)?rts\.ch/(?:(?:[^/]+/){2,}(?P[0-9]+)-(?P.+?)\.html|play/tv/[^/]+/video/(?P.+?)\?id=(?P[0-9]+))' _TESTS = [ {