From 63ca9b183b30c0e6ed9a0437011989af1cd9ae3d Mon Sep 17 00:00:00 2001 From: nimeir Date: Mon, 22 Apr 2019 01:11:09 +0100 Subject: [PATCH] fix travisci error --- youtube_dl/extractor/rtp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/rtp.py b/youtube_dl/extractor/rtp.py index 01386a55a..921efca13 100644 --- a/youtube_dl/extractor/rtp.py +++ b/youtube_dl/extractor/rtp.py @@ -65,7 +65,7 @@ class RTPIE(InfoExtractor): class RTPPlaylistIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?rtp\.pt/play/p(?P[0-9]+)' + _VALID_URL = r'https?://(?:www\.)?rtp\.pt/play/p(?P[0-9]+)]+)(?!.)' def _get_program_id(self, url): mobj = re.match(self._VALID_URL, url)