[mitele] Use compat_urllib_parse_unquote

This commit is contained in:
Sergey M․ 2015-07-17 23:42:11 +06:00
parent c177bb3a50
commit 09b718c439

View File

@ -5,6 +5,7 @@
from .common import InfoExtractor from .common import InfoExtractor
from ..compat import ( from ..compat import (
compat_urllib_parse, compat_urllib_parse,
compat_urllib_parse_unquote,
compat_urlparse, compat_urlparse,
) )
from ..utils import ( from ..utils import (
@ -48,7 +49,7 @@ def _real_extract(self, url):
domain = 'http://' + domain domain = 'http://' + domain
info_url = compat_urlparse.urljoin( info_url = compat_urlparse.urljoin(
domain, 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') info_el = self._download_xml(info_url, episode).find('./video/info')