diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-07-17 23:49:14 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-07-17 23:49:14 +0600 |
commit | 736f003f2e96b37a9554d77a26fdef6c0a38fd5d (patch) | |
tree | e6a889a56d023039166a1c494f022a74ffe4b64c /youtube_dl/extractor | |
parent | 47af21e8f15be1ddb6195327719569d8723a669e (diff) |
[xbef] Use compat_urllib_parse_unquote
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/xbef.py | 6 |
1 files changed, 2 insertions, 4 deletions
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') |