logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 736f003f2e96b37a9554d77a26fdef6c0a38fd5d
parent 47af21e8f15be1ddb6195327719569d8723a669e
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 17 Jul 2015 23:49:14 +0600

[xbef] Use compat_urllib_parse_unquote

Diffstat:

Myoutube_dl/extractor/xbef.py6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git 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')