From 0a84430461e2f3885053db1620ddda00451a17eb Mon Sep 17 00:00:00 2001 From: bubbleguuum Date: Mon, 21 Mar 2016 13:36:57 +0100 Subject: [PATCH] fixes streams parsing --- youtube_dl/extractor/tunein.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/tunein.py b/youtube_dl/extractor/tunein.py index 8322cc14d..8b9b64763 100644 --- a/youtube_dl/extractor/tunein.py +++ b/youtube_dl/extractor/tunein.py @@ -29,9 +29,9 @@ class TuneInBaseIE(InfoExtractor): stream_data = self._download_webpage( 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 formats = [] for stream in streams: