Add an extractor for cmt.com (closes #2049)

It just inherits from MTVIE.
Some videos also come from vevo.com
This commit is contained in:
Jaime Marquínez Ferrándiz
2013-12-31 17:21:44 +01:00
parent 7976fcac55
commit c801b2051a
3 changed files with 21 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ class MTVIE(MTVServicesInfoExtractor):
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)
video_id = mobj.group('videoid')
uri = mobj.group('mgid')
uri = mobj.groupdict().get('mgid')
if uri is None:
webpage = self._download_webpage(url, video_id)