+ 'playlist_mincount': 5,
+ }]
+
+ def _extract_videos(self, data, display_id):
+ for video in traverse_obj(data, (lambda _, v: v['publicId'] and v['file'] and v['type'] == 'hls')):
+ yield {
+ 'formats': self._extract_m3u8_formats(
+ video['file'], display_id, 'mp4', m3u8_id='hls', fatal=False),
+ **traverse_obj(video, {
+ 'id': 'publicId',
+ 'title': 'title',
+ 'description': 'description',
+ 'duration': ('durationInSeconds', {float_or_none}),
+ 'thumbnail': ('image', {url_or_none}),
+ }),
+ }