From 2c63ccec78faec092394d4461cb9428504e8c830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Thu, 23 Oct 2014 21:26:48 +0200 Subject: [PATCH] [mitele] Fix on python 2.x --- youtube_dl/extractor/mitele.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ 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']) )