From a847d06337aa202080ada49f8935c6457c8ac72f Mon Sep 17 00:00:00 2001 From: nimeir Date: Mon, 22 Apr 2019 01:53:20 +0100 Subject: [PATCH] fixed typo --- 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 921efca13..2712b2251 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)