Skip to content

Commit

Permalink
[laola1tv] Allow live stream downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Naglis Jonaitis committed Feb 26, 2015
1 parent 2e24124 commit e129c5b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions youtube_dl/extractor/laola1tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -57,11 +55,7 @@ def _real_extract(self, url):
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:
Expand Down

0 comments on commit e129c5b

Please sign in to comment.