[veoh] Add support for mobile URLs
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 5 Jan 2014 04:47:47 +0000 (05:47 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 5 Jan 2014 04:47:50 +0000 (05:47 +0100)
Fixes #2052

youtube_dl/extractor/veoh.py

index 00672c9e5f4bdb5f2c33112bdee4d97022b24e9f..9534f2725ebbfaa5ef9fb7254c5184abf5df90f0 100644 (file)
@@ -7,7 +7,7 @@ from ..utils import (
 )
 
 class VeohIE(InfoExtractor):
-    _VALID_URL = r'http://www\.veoh\.com/watch/v(?P<id>\d*)'
+    _VALID_URL = r'http://(?:www\.)?veoh\.com/(?:watch|iphone/#_Watch)/v(?P<id>\d*)'
 
     _TEST = {
         u'url': u'http://www.veoh.com/watch/v56314296nk7Zdmz3',