'id': 'lrt-opus',
'live_status': 'is_live',
'title': 're:^LRT Opus.+$',
- 'ext': 'mp4'
- }
+ 'ext': 'mp4',
+ },
}]
def _real_extract(self, url):
fmts, subs = self._extract_m3u8_formats_and_subtitles(stream_url, video_id, 'mp4', m3u8_id='hls', live=True)
formats.extend(fmts)
subtitles = self._merge_subtitles(subtitles, subs)
- self._sort_formats(formats)
stream_title = self._extract_js_var(webpage, 'video_title', 'LRT')
return {
'formats': formats,
'subtitles': subtitles,
'is_live': True,
- 'title': f'{self._og_search_title(webpage)} - {stream_title}'
+ 'title': f'{self._og_search_title(webpage)} - {stream_title}',
}
'timestamp': 1604079000,
'upload_date': '20201030',
'tags': ['LRT TELEVIZIJA', 'Beatos virtuvė', 'Beata Nicholson', 'Makaronai', 'Baklažanai', 'Vakarienė', 'Receptas'],
- 'thumbnail': 'https://www.lrt.lt/img/2020/10/30/764041-126478-1287x836.jpg'
+ 'thumbnail': 'https://www.lrt.lt/img/2020/10/30/764041-126478-1287x836.jpg',
},
}, {
# direct mp3 download