1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-04 18:42:55 +08:00

fixes streams parsing

This commit is contained in:
bubbleguuum 2016-03-21 13:36:57 +01:00
parent 9016d76f71
commit 0a84430461

View File

@ -29,8 +29,8 @@ class TuneInBaseIE(InfoExtractor):
stream_data = self._download_webpage( stream_data = self._download_webpage(
streams_url, content_id, note='Downloading stream data') streams_url, content_id, note='Downloading stream data')
streams = json.loads(self._search_regex(
r'\((.*)\);', stream_data, 'stream info'))['Streams'] streams = json.loads(stream_data).get('Streams')
is_live = None is_live = None
formats = [] formats = []