diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-12-02 22:24:47 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-12-02 22:24:47 +0600 |
commit | c492970b4b2d9b3afa5fe817e4da748816126ebd (patch) | |
tree | 1981d0d238e62b938da37999583434da408c7e40 /youtube_dl/extractor/rts.py | |
parent | ac5633592afa9d70c05170333a0fb9013ba868da (diff) |
[rts] Improve _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/rts.py')
-rw-r--r-- | youtube_dl/extractor/rts.py | 2 |
1 files changed, 1 insertions, 1 deletions
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<id>[0-9]+)-(?P<display_id>.+?)\.html|play/tv/[^/]+/video/(?P<display_id_new>.+?)\?id=(?P<id_new>[0-9]+))' + _VALID_URL = r'https?://(?:www\.)?rts\.ch/(?:(?:[^/]+/){2,}(?P<id>[0-9]+)-(?P<display_id>.+?)\.html|play/tv/[^/]+/video/(?P<display_id_new>.+?)\?id=(?P<id_new>[0-9]+))' _TESTS = [ { |