- uploader = self._html_search_regex(r'data-content-type="channel".*?>(?P<uploader>.*?)</a>',
- webpage, 'uploader', fatal=False, flags=re.DOTALL)
+ formats = [{
+ 'id': format_id,
+ 'url': video_url,
+ 'ext': format_id,
+ } for format_id, video_url in video['media_urls'].items()]
+ self._sort_formats(formats)
+
+ title = video['title']
+ description = video.get('description')
+ timestamp = int_or_none(video.get('created_at'))
+ duration = float_or_none(video.get('length'))
+ filesize = float_or_none(video.get('file_size'))
+ view_count = int_or_none(video.get('views'))
+
+ uploader = video.get('owner', {}).get('username')
+ uploader_id = video.get('owner', {}).get('id')