summary refs log tree commit diff
diff options
context:
space:
mode:
authorNaglis Jonaitis <njonaitis@gmail.com>2015-02-26 14:35:48 +0200
committerNaglis Jonaitis <njonaitis@gmail.com>2015-02-26 14:35:48 +0200
commite129c5bc0de4913564c1e1a62baae4bd0073824c (patch)
treee5c75f77ebed7c25601450682c45efa1cac72bff
parent2e241242a3ee6338cafd515c9cd7481eb5c6f928 (diff)
downloadyoutube-dl-e129c5bc0de4913564c1e1a62baae4bd0073824c.tar.gz
youtube-dl-e129c5bc0de4913564c1e1a62baae4bd0073824c.tar.xz
youtube-dl-e129c5bc0de4913564c1e1a62baae4bd0073824c.zip
[laola1tv] Allow live stream downloads
-rw-r--r--youtube_dl/extractor/laola1tv.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/youtube_dl/extractor/laola1tv.py b/youtube_dl/extractor/laola1tv.py
index e8ca49fd1..b459559b0 100644
--- a/youtube_dl/extractor/laola1tv.py
+++ b/youtube_dl/extractor/laola1tv.py
@@ -27,8 +27,6 @@ class Laola1TvIE(InfoExtractor):
         }
     }
 
-    _BROKEN = True  # Not really - extractor works fine, but f4m downloader does not support live streams yet.
-
     def _real_extract(self, url):
         mobj = re.match(self._VALID_URL, url)
         video_id = mobj.group('id')
@@ -57,11 +55,7 @@ class Laola1TvIE(InfoExtractor):
         title = xpath_text(hd_doc, './/video/title', fatal=True)
         flash_url = xpath_text(hd_doc, './/video/url', fatal=True)
         uploader = xpath_text(hd_doc, './/video/meta_organistation')
-
         is_live = xpath_text(hd_doc, './/video/islive') == 'true'
-        if is_live:
-            raise ExtractorError(
-                'Live streams are not supported by the f4m downloader.')
 
         categories = xpath_text(hd_doc, './/video/meta_sports')
         if categories: