diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-06-24 13:54:19 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-06-24 13:54:19 +0200 |
commit | 1c251cd9482bd0168ca844ad281317b5c19cd607 (patch) | |
tree | 61c5bbf30d38808a5b810589b6aca04a15ca8b56 /youtube_dl/extractor/vevo.py | |
parent | 70d1924f8ba4d200ba43b0f1a1ea25d9e193c878 (diff) |
MTVIE: add support for Vevo videos (related #913)
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) |