mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-04 12:53:13 +08:00
fixes streams parsing
This commit is contained in:
parent
9016d76f71
commit
0a84430461
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user