mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-14 18:49:06 -07:00
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:
parent
7976fcac55
commit
c801b2051a
3 changed files with 21 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue