mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-06-30 11:02:51 -05:00
MTVIE: add support for Vevo videos (related #913)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user