- mobj = re.match(self._VALID_URL, url)
- video_id = mobj.group('id')
+ video_id = self._match_id(url)
+ page = self._download_webpage(url, video_id)
+
+ title = self._html_search_meta('twitter:title', page, 'title', fatal=True)
+ description = self._html_search_meta('twitter:description', page, 'title')
+
+ data = self._download_xml(
+ 'http://www.firstpost.com/getvideoxml-%s.xml' % video_id, video_id,
+ 'Downloading video XML')
+
+ item = data.find('./playlist/item')
+ thumbnail = item.find('./image').text