diff options
author | Jan Schär <jscissr@gmail.com> | 2018-02-11 00:51:10 +0100 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2018-02-11 06:51:10 +0700 |
commit | a072a12e249525f002646a921f16e14f03231662 (patch) | |
tree | 1de867ec59d8bf3a2b1657be2ff55570c2a056c1 | |
parent | e67734dda9a2a0be112aa2b0b7518a5feaf443df (diff) |
[veoh] Add support for embed URLs
-rw-r--r-- | youtube_dl/extractor/veoh.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/veoh.py b/youtube_dl/extractor/veoh.py index b20dddc5c..071774a6f 100644 --- a/youtube_dl/extractor/veoh.py +++ b/youtube_dl/extractor/veoh.py @@ -12,7 +12,7 @@ from ..utils import ( class VeohIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?veoh\.com/(?:watch|iphone/#_Watch)/(?P<id>(?:v|e|yapi-)[\da-zA-Z]+)' + _VALID_URL = r'https?://(?:www\.)?veoh\.com/(?:watch|embed|iphone/#_Watch)/(?P<id>(?:v|e|yapi-)[\da-zA-Z]+)' _TESTS = [{ 'url': 'http://www.veoh.com/watch/v56314296nk7Zdmz3', @@ -25,6 +25,9 @@ class VeohIE(InfoExtractor): 'description': 'At LUMOback, we believe straight backs are stronger. The LUMOback Posture & Movement Sensor: It gently vibrates when you slouch, inspiring improved posture and mobility. Use the app to track your data and improve your posture over time. ', }, }, { + 'url': 'http://www.veoh.com/embed/v56314296nk7Zdmz3', + 'only_matching': True, + }, { 'url': 'http://www.veoh.com/watch/v27701988pbTc4wzN?h1=Chile+workers+cover+up+to+avoid+skin+damage', 'md5': '4a6ff84b87d536a6a71e6aa6c0ad07fa', 'info_dict': { |