mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-26 17:22:52 +08:00
[tunein] fix Stations parsing
This commit is contained in:
parent
0a84430461
commit
9795b404f9
@ -30,6 +30,9 @@ class TuneInBaseIE(InfoExtractor):
|
|||||||
stream_data = self._download_webpage(
|
stream_data = self._download_webpage(
|
||||||
streams_url, content_id, note='Downloading stream data')
|
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')
|
streams = json.loads(stream_data).get('Streams')
|
||||||
|
|
||||||
is_live = None
|
is_live = None
|
||||||
|
Loading…
Reference in New Issue
Block a user