aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-06-23 21:52:41 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-06-23 21:52:41 +0200
commit1736dec629bd3da25bea21145794adfa7a835ea3 (patch)
tree7affaa83e28c06d7ecb94105f9e42762f95e5a1b /youtube_dl
parentb8a360837afcc4cc23706e123a70c1e87a005887 (diff)
downloadyoutube-dl-1736dec629bd3da25bea21145794adfa7a835ea3.zip
youtube-dl-1736dec629bd3da25bea21145794adfa7a835ea3.tar.gz
youtube-dl-1736dec629bd3da25bea21145794adfa7a835ea3.tar.bz2
Mark MTV as broken for now (#913)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/mtv.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py
index c23033d..a801c81 100644
--- a/youtube_dl/extractor/mtv.py
+++ b/youtube_dl/extractor/mtv.py
@@ -15,6 +15,7 @@ from ..utils import (
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)
@@ -26,8 +27,8 @@ class MTVIE(InfoExtractor):
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')
@@ -47,7 +48,6 @@ class MTVIE(InfoExtractor):
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.
@@ -63,7 +63,6 @@ class MTVIE(InfoExtractor):
info = {
'id': video_id,
'url': video_url,
- 'uploader': performer,
'upload_date': None,
'title': video_title,
'ext': ext,