stream_url = self._download_json(
stream_info['stream'], display_id,
'Downloading %s URL' % stream_type,
stream_url = self._download_json(
stream_info['stream'], display_id,
'Downloading %s URL' % stream_type,
if stream_type == 'hds':
f4m_formats = self._extract_f4m_formats(stream_url, display_id)
# f4m downloader downloads only piece of live stream
if stream_type == 'hds':
f4m_formats = self._extract_f4m_formats(stream_url, display_id)
# f4m downloader downloads only piece of live stream