|
@@ -93,7 +93,7 @@ class MTVIE(InfoExtractor):
|
|
else:
|
|
else:
|
|
description = None
|
|
description = None
|
|
|
|
|
|
- info = {
|
|
|
|
|
|
+ return {
|
|
'title': itemdoc.find('title').text,
|
|
'title': itemdoc.find('title').text,
|
|
'formats': self._extract_video_formats(mediagen_page),
|
|
'formats': self._extract_video_formats(mediagen_page),
|
|
'id': video_id,
|
|
'id': video_id,
|
|
@@ -101,11 +101,6 @@ class MTVIE(InfoExtractor):
|
|
'description': description,
|
|
'description': description,
|
|
}
|
|
}
|
|
|
|
|
|
- # TODO: Remove when #980 has been merged
|
|
|
|
- info.update(info['formats'][-1])
|
|
|
|
-
|
|
|
|
- return info
|
|
|
|
-
|
|
|
|
def _get_videos_info(self, uri):
|
|
def _get_videos_info(self, uri):
|
|
video_id = self._id_from_uri(uri)
|
|
video_id = self._id_from_uri(uri)
|
|
data = compat_urllib_parse.urlencode({'uri': uri})
|
|
data = compat_urllib_parse.urlencode({'uri': uri})
|