commit: 9d048a17d818764e7f0d24519a09a36442d455ea
parent 492641d10a1d9748cfb675f68c9804530f8eca16
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Fri, 22 Aug 2014 18:47:49 +0200
[rtve.es:live] Start supporting the 24h channel
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/youtube_dl/extractor/rtve.py b/youtube_dl/extractor/rtve.py
@@ -100,7 +100,7 @@ class RTVEALaCartaIE(InfoExtractor):
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<id>[a-zA-Z0-9-]+)'
+ _VALID_URL = r'http://www\.rtve\.es/(?:deportes/directo|noticias|television)/(?P<id>[a-zA-Z0-9-]+)'
_TESTS = [{
'url': 'http://www.rtve.es/noticias/directo-la-1/',
@@ -131,8 +131,6 @@ class RTVELiveIE(InfoExtractor):
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',