0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

[mitele] Fix on python 2.x

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-10-23 21:26:48 +02:00
parent f2f2c0c2c6
commit 2c63ccec78

View file

@ -6,6 +6,7 @@
from .common import InfoExtractor
from ..utils import (
compat_urllib_parse,
compat_urlparse,
get_element_by_attribute,
parse_duration,
strip_jsonp,
@ -43,7 +44,7 @@ def _real_extract(self, url):
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'])
)