aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-18 00:04:25 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-18 00:04:25 +0600
commit6b19647d5706b75b5e2d7da836495fe5174919f4 (patch)
tree4fda26449e1a8b4097cfb78efdc1f4e3d645c528
parent7bd42d0d963b543aae1f4b4e8c157dc3421189fd (diff)
[veehd] Use compat_urllib_parse_unquote
-rw-r--r--youtube_dl/extractor/veehd.py3
1 files changed, 2 insertions, 1 deletions
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(