- final_url = self._search_regex(r'src="(.+?).mp3"',
- webpage, 'video url')+'.mp3'
- title = self._html_search_regex(r'<title>(.+?)</title>',
- webpage, 'video title').replace(' Sound Clip and Quote - Hark','').replace(
- 'Sound Clip , Quote, MP3, and Ringtone - Hark','')
-
- return {'id': video_id,
- 'url' : final_url,
- 'title': title,
- 'ext': determine_ext(final_url),
- }
+ return {
+ 'id': video_id,
+ 'url': data['url'],
+ 'title': data['name'],
+ 'description': data.get('description'),
+ 'thumbnail': data.get('image_original'),
+ 'duration': data.get('duration'),
+ }