summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-17 23:42:11 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-17 23:42:11 +0600
commit09b718c4398b2ce9964ec3ae5e329278d6211668 (patch)
treea161b298427032245995b874fffc297e1427dd89
parentc177bb3a50cde6035976603ba8094dd72cc310fa (diff)
downloadyoutube-dl-09b718c4398b2ce9964ec3ae5e329278d6211668.tar.gz
youtube-dl-09b718c4398b2ce9964ec3ae5e329278d6211668.tar.xz
youtube-dl-09b718c4398b2ce9964ec3ae5e329278d6211668.zip
[mitele] Use compat_urllib_parse_unquote
-rw-r--r--youtube_dl/extractor/mitele.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mitele.py b/youtube_dl/extractor/mitele.py
index 7091f3335..852d72266 100644
--- a/youtube_dl/extractor/mitele.py
+++ b/youtube_dl/extractor/mitele.py
@@ -5,6 +5,7 @@ import json
 from .common import InfoExtractor
 from ..compat import (
     compat_urllib_parse,
+    compat_urllib_parse_unquote,
     compat_urlparse,
 )
 from ..utils import (
@@ -48,7 +49,7 @@ class MiTeleIE(InfoExtractor):
             domain = 'http://' + domain
         info_url = compat_urlparse.urljoin(
             domain,
-            compat_urllib_parse.unquote(embed_data['flashvars']['host'])
+            compat_urllib_parse_unquote(embed_data['flashvars']['host'])
         )
         info_el = self._download_xml(info_url, episode).find('./video/info')