From 1c251cd9482bd0168ca844ad281317b5c19cd607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Mon, 24 Jun 2013 13:54:19 +0200 Subject: MTVIE: add support for Vevo videos (related #913) --- youtube_dl/extractor/vevo.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'youtube_dl/extractor/vevo.py') 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.*)$' + """ + 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.*)$' def _real_extract(self, url): mobj = re.match(self._VALID_URL, url) -- cgit v1.2.3