[mitele] Use compat_urllib_parse_unquote
authorSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:42:11 +0000 (23:42 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:42:11 +0000 (23:42 +0600)
youtube_dl/extractor/mitele.py

index 7091f3335e8223ea0a089ba7cff127a983b12d7d..852d722664a3d63aafed0f8246949335b4150c09 100644 (file)
@@ -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')