diff options
Diffstat (limited to 'youtube_dl/extractor/vevo.py')
-rw-r--r-- | youtube_dl/extractor/vevo.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py index 7aa04ef68..aa88e1a92 100644 --- a/youtube_dl/extractor/vevo.py +++ b/youtube_dl/extractor/vevo.py @@ -8,7 +8,11 @@ from ..utils import ( ) class VevoIE(InfoExtractor): - _VALID_URL = r'http://www.vevo.com/watch/.*?/.*?/(?P<id>.*)$' + """ + Accecps urls from vevo.com or in the format 'vevo:{id}' + (currently used by MTVIE) + """ + _VALID_URL = r'((http://www.vevo.com/watch/.*?/.*?/)|(vevo:))(?P<id>.*)$' def _real_extract(self, url): mobj = re.match(self._VALID_URL, url) |