From: Sergey M․ Date: Tue, 2 Dec 2014 16:24:47 +0000 (+0600) Subject: [rts] Improve _VALID_URL X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=c492970b4b2d9b3afa5fe817e4da748816126ebd;p=youtube-dl.git [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 = [ {