summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-07-17 23:40:35 +0600
committerSergey M․ <[email protected]>2015-07-17 23:40:35 +0600
commit899a3e2f139a7b774d1a9483bb975e480e642c75 (patch)
tree51a26d9040b347e4d368c07f18b60c98d94a3974
parent8ee4ecb48dd7824f451c11c4cebb05b603a2da27 (diff)
downloadyoutube-dl-899a3e2f139a7b774d1a9483bb975e480e642c75.tar.gz
youtube-dl-899a3e2f139a7b774d1a9483bb975e480e642c75.zip
[karaoketv] Use compat_urllib_parse_unquote_plus
-rw-r--r--youtube_dl/extractor/karaoketv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/karaoketv.py b/youtube_dl/extractor/karaoketv.py
index e3b43ff8d..06daf5a89 100644
--- a/youtube_dl/extractor/karaoketv.py
+++ b/youtube_dl/extractor/karaoketv.py
@@ -2,7 +2,7 @@
from __future__ import unicode_literals
from .common import InfoExtractor
-from ..compat import compat_urllib_parse
+from ..compat import compat_urllib_parse_unquote_plus
from ..utils import (
js_to_json,
)
@@ -24,7 +24,7 @@ class KaraoketvIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
page_video_url = self._og_search_video_url(webpage, video_id)
- config_json = compat_urllib_parse.unquote_plus(self._search_regex(
+ config_json = compat_urllib_parse_unquote_plus(self._search_regex(
r'config=(.*)', page_video_url, 'configuration'))
urls_info_json = self._download_json(