logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 6b19647d5706b75b5e2d7da836495fe5174919f4
parent 7bd42d0d963b543aae1f4b4e8c157dc3421189fd
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 18 Jul 2015 00:04:25 +0600

[veehd] Use compat_urllib_parse_unquote

Diffstat:

Myoutube_dl/extractor/veehd.py3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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(