class MTVIE(InfoExtractor):
_VALID_URL = r'^(?P<proto>https?://)?(?:www\.)?mtv\.com/videos/[^/]+/(?P<videoid>[0-9]+)/[^/]+$'
+ _WORKING = False
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)
webpage = self._download_webpage(url, video_id)
- song_name = self._html_search_regex(r'<meta name="mtv_vt" content="([^"]+)"/>',
- webpage, u'song name', fatal=False)
+ #song_name = self._html_search_regex(r'<meta name="mtv_vt" content="([^"]+)"/>',
+ # webpage, u'song name', fatal=False)
video_title = self._html_search_regex(r'<meta name="mtv_an" content="([^"]+)"/>',
webpage, u'title')
raise ExtractorError(u'Unable to download video metadata: %s' % compat_str(err))
mdoc = xml.etree.ElementTree.fromstring(metadataXml)
- print(metadataXml)
renditions = mdoc.findall('.//rendition')
# For now, always pick the highest quality.
info = {
'id': video_id,
'url': video_url,
- 'uploader': performer,
'upload_date': None,
'title': video_title,
'ext': ext,