1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-07 05:53:32 +08:00

fixes streams parsing

This commit is contained in:
bubbleguuum
2016-03-21 13:36:57 +01:00
Unverified
parent 9016d76f71
commit 0a84430461
+3 -3
View File
@@ -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: