From: Sergey M․ Date: Fri, 17 Jul 2015 18:04:25 +0000 (+0600) Subject: [veehd] Use compat_urllib_parse_unquote X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=6b19647d5706b75b5e2d7da836495fe5174919f4;p=youtube-dl [veehd] Use compat_urllib_parse_unquote --- diff --git a/youtube_dl/extractor/veehd.py b/youtube_dl/extractor/veehd.py index 346edf485..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 ( @@ -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(