mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-11-01 10:14:09 +09:00
[mitele] Use compat_urllib_parse_unquote
This commit is contained in:
1 parent
c177bb3a50
commit
09b718c439
1 file changed
+2
-1
@@ -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')
|
||||
|
||||
|
||||
Reference in new issue
Block a user