]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[xbef] Use compat_urllib_parse_unquote
authorSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:49:14 +0000 (23:49 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:49:14 +0000 (23:49 +0600)
youtube_dl/extractor/xbef.py

index 80c48c37d32c0849e689d626811ee34c5b414ee0..4ff99e5ca37fb8f4f0b663cc99761c31e75f1cf4 100644 (file)
@@ -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')