From: Sergey M․ Date: Fri, 17 Jul 2015 17:49:14 +0000 (+0600) Subject: [xbef] Use compat_urllib_parse_unquote X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=736f003f2e96b37a9554d77a26fdef6c0a38fd5d;p=youtube-dl [xbef] Use compat_urllib_parse_unquote --- diff --git a/youtube_dl/extractor/xbef.py b/youtube_dl/extractor/xbef.py index 80c48c37d..4ff99e5ca 100644 --- a/youtube_dl/extractor/xbef.py +++ b/youtube_dl/extractor/xbef.py @@ -1,9 +1,7 @@ from __future__ import unicode_literals from .common import InfoExtractor -from ..compat import ( - compat_urllib_parse, -) +from ..compat import compat_urllib_parse_unquote class XBefIE(InfoExtractor): @@ -30,7 +28,7 @@ class XBefIE(InfoExtractor): config_url_enc = self._download_webpage( 'http://xbef.com/Main/GetVideoURLEncoded/%s' % video_id, video_id, note='Retrieving config URL') - config_url = compat_urllib_parse.unquote(config_url_enc) + config_url = compat_urllib_parse_unquote(config_url_enc) config = self._download_xml( config_url, video_id, note='Retrieving config')