X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fveehd.py;h=0d8d832cc0890a8cb99c8388b1b9fc1964396d23;hb=2f483bc1c389709623117079439708783122b5ec;hp=7fdeb784d65149402331a6b9a2396f5cf1f0fa20;hpb=f7f1df1d82d556c0726898b9de2f7f3824c1be5a;p=youtube-dl diff --git a/youtube_dl/extractor/veehd.py b/youtube_dl/extractor/veehd.py index 7fdeb784d..0d8d832cc 100644 --- a/youtube_dl/extractor/veehd.py +++ b/youtube_dl/extractor/veehd.py @@ -5,6 +5,7 @@ import json from .common import InfoExtractor from ..compat import ( + compat_urllib_parse_unquote, compat_urlparse, ) from ..utils import ( @@ -39,13 +40,13 @@ class VeeHDIE(InfoExtractor): 'uploader_id': 'spotted', } }, { - 'url': 'http://veehd.com/video/4665804_Tell-No-One-Ne-le-dis-a-personne-2006-French-EngSoftSubs-Re-Up', + 'url': 'http://veehd.com/video/2046729_2012-2009-DivX-Trailer', 'info_dict': { - 'id': '4665804', + 'id': '2046729', 'ext': 'avi', - 'title': 'Tell No One (Ne le dis a personne) 2006 French(EngSoftSubs) Re-Up', - 'description': 'md5:d660cca685549776f37165e9a10b60ba', - 'uploader_id': 'belial2549', + 'title': '2012 (2009) DivX Trailer', + 'description': 'md5:75435ee95255e6a9838ac6f6f3a2396b', + 'uploader_id': 'Movie_Trailers', } }] @@ -76,7 +77,7 @@ class VeeHDIE(InfoExtractor): if config_json: config = json.loads(config_json) - video_url = compat_urlparse.unquote(config['clip']['url']) + video_url = compat_urllib_parse_unquote(config['clip']['url']) if not video_url: video_url = self._html_search_regex(