diff --git a/youtube_dl/extractor/tunein.py b/youtube_dl/extractor/tunein.py index 8b9b64763..88f5200d0 100644 --- a/youtube_dl/extractor/tunein.py +++ b/youtube_dl/extractor/tunein.py @@ -30,6 +30,9 @@ class TuneInBaseIE(InfoExtractor): stream_data = self._download_webpage( streams_url, content_id, note='Downloading stream data') + if stream_data.startswith('('): + stream_data = self._search_regex(r'\((.*)\);', stream_data, 'stream info') + streams = json.loads(stream_data).get('Streams') is_live = None