From: Philipp Hagemeister Date: Fri, 22 Aug 2014 16:47:49 +0000 (+0200) Subject: [rtve.es:live] Start supporting the 24h channel X-Git-Tag: 2021.01.07~11002 X-Git-Url: https://jfr.im/git/yt-dlp.git/commitdiff_plain/9d048a17d818764e7f0d24519a09a36442d455ea [rtve.es:live] Start supporting the 24h channel --- diff --git a/youtube_dl/extractor/rtve.py b/youtube_dl/extractor/rtve.py index 8cf753902..4dd35a47b 100644 --- a/youtube_dl/extractor/rtve.py +++ b/youtube_dl/extractor/rtve.py @@ -100,7 +100,7 @@ def _real_extract(self, url): class RTVELiveIE(InfoExtractor): IE_NAME = 'rtve.es:live' IE_DESC = 'RTVE.es live streams' - _VALID_URL = r'http://www\.rtve\.es/(?:deportes/directo|noticias(?=/directo-la-1)|television)/(?P[a-zA-Z0-9-]+)' + _VALID_URL = r'http://www\.rtve\.es/(?:deportes/directo|noticias|television)/(?P[a-zA-Z0-9-]+)' _TESTS = [{ 'url': 'http://www.rtve.es/noticias/directo-la-1/', @@ -131,8 +131,6 @@ def _real_extract(self, url): png = self._download_webpage(png_url, video_id, 'Downloading url information') video_url = _decrypt_url(png) - print(video_url) - return { 'id': video_id, 'ext': 'flv',