- mobj = re.match(self._VALID_URL, url)
-
- video_id = mobj.group('videoid')
-
- # Get webpage content
- webpage = self._download_webpage(url, video_id)
-
- # Get the video title
- video_title = self._html_search_regex(r'<title>(?P<title>.*)</title>',
- webpage, 'title').strip()
-
- video_url = self._search_regex(r'(http://.*\.(?:mp4|flv))',
- webpage, u'video URL')
-
- ext = video_url[-3:]
-
- return {
- 'id': video_id,
- 'url': video_url,
- 'title': video_title,
- 'ext': ext
- }
+ video_id = self._match_id(url)
+ return self._extract_nuevo(
+ 'https://trutube.tv/nuevo/player/config.php?v=%s' % video_id,
+ video_id)