[rtve.es:live] Start supporting the 24h channel
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 22 Aug 2014 16:47:49 +0000 (18:47 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 22 Aug 2014 16:47:49 +0000 (18:47 +0200)
youtube_dl/extractor/rtve.py

index 8cf753902f65ed83d541f48776c1b58b3e9eee64..4dd35a47b35b5341139aa2d7f27886b52ddad5ce 100644 (file)
@@ -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',