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)