summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-12-05 12:41:58 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-12-05 12:41:58 +0100
commit673d1273ff6f6d3267728fbe6f79c9c801598fd2 (patch)
treeeb8d54c2f8cce111173ca3e22ea7d56227727721
parentb9a2c53833a3cebc32df908aad74f7c5a3537aa1 (diff)
downloadyoutube-dl-673d1273ff6f6d3267728fbe6f79c9c801598fd2.tar.gz
youtube-dl-673d1273ff6f6d3267728fbe6f79c9c801598fd2.tar.xz
youtube-dl-673d1273ff6f6d3267728fbe6f79c9c801598fd2.zip
[vevo] Support '/watch/{id}' urls
-rw-r--r--youtube_dl/extractor/vevo.py2
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',