Browse Source

[mitele] Use compat_urllib_parse_unquote

totalwebcasting
Sergey M․ 10 years ago
parent
commit
09b718c439
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/mitele.py

+ 2
- 1
youtube_dl/extractor/mitele.py View 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')


Loading…
Cancel
Save