projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mitele] Fix on python 2.x
[youtube-dl]
/
youtube_dl
/
extractor
/
mitele.py
diff --git
a/youtube_dl/extractor/mitele.py
b/youtube_dl/extractor/mitele.py
index df7fde87c88dcee538309e0468ff34d2c9a3996c..6691521e58435682a74af87559ce1d1fd9046fbf 100644
(file)
--- 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,
from .common import InfoExtractor
from ..utils import (
compat_urllib_parse,
+ compat_urlparse,
get_element_by_attribute,
parse_duration,
strip_jsonp,
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
if not domain.startswith('http'):
# only happens in telecinco.es videos
domain = 'http://' + domain
- info_url = compat_url
lib_
parse.urljoin(
+ info_url = compat_urlparse.urljoin(
domain,
compat_urllib_parse.unquote(embed_data['flashvars']['host'])
)
domain,
compat_urllib_parse.unquote(embed_data['flashvars']['host'])
)