diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-10-23 21:26:48 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-10-23 21:26:48 +0200 |
commit | 2c63ccec78faec092394d4461cb9428504e8c830 (patch) | |
tree | b83f25840061b9f7fe50ef9ac52e523b7ab872e6 /youtube_dl/extractor | |
parent | f2f2c0c2c642aecc1a8954ad3d8639425036e066 (diff) |
[mitele] Fix on python 2.x
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/mitele.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mitele.py b/youtube_dl/extractor/mitele.py index df7fde87c..6691521e5 100644 --- a/youtube_dl/extractor/mitele.py +++ b/youtube_dl/extractor/mitele.py @@ -6,6 +6,7 @@ import json from .common import InfoExtractor from ..utils import ( compat_urllib_parse, + compat_urlparse, get_element_by_attribute, parse_duration, strip_jsonp, @@ -43,7 +44,7 @@ class MiTeleIE(InfoExtractor): if not domain.startswith('http'): # only happens in telecinco.es videos domain = 'http://' + domain - info_url = compat_urllib_parse.urljoin( + info_url = compat_urlparse.urljoin( domain, compat_urllib_parse.unquote(embed_data['flashvars']['host']) ) |