diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2013-12-05 12:41:58 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2013-12-05 12:41:58 +0100 |
commit | 673d1273ff6f6d3267728fbe6f79c9c801598fd2 (patch) | |
tree | eb8d54c2f8cce111173ca3e22ea7d56227727721 | |
parent | b9a2c53833a3cebc32df908aad74f7c5a3537aa1 (diff) | |
download | youtube-dl-673d1273ff6f6d3267728fbe6f79c9c801598fd2.tar.gz youtube-dl-673d1273ff6f6d3267728fbe6f79c9c801598fd2.zip |
[vevo] Support '/watch/{id}' urls
-rw-r--r-- | youtube_dl/extractor/vevo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py index d8bfcd155..3eedcf7dd 100644 --- a/youtube_dl/extractor/vevo.py +++ b/youtube_dl/extractor/vevo.py @@ -15,7 +15,7 @@ class VevoIE(InfoExtractor): Accepts 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>.*?)(\?|$)' + _VALID_URL = r'((http://www\.vevo\.com/watch/(?:[^/]+/[^/]+/)?)|(vevo:))(?P<id>.*?)(\?|$)' _TESTS = [{ u'url': u'http://www.vevo.com/watch/hurts/somebody-to-die-for/GB1101300280', u'file': u'GB1101300280.mp4', |