1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-25 11:53:21 +08:00

[tunein] fix Stations parsing

This commit is contained in:
bubbleguuum 2016-03-21 17:22:16 +01:00
parent 0a84430461
commit 9795b404f9

View File

@ -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