projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
47af21e
)
[xbef] Use compat_urllib_parse_unquote
author
Sergey M․
<dstftw@gmail.com>
Fri, 17 Jul 2015 17:49:14 +0000
(23:49 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 17 Jul 2015 17:49:14 +0000
(23:49 +0600)
youtube_dl/extractor/xbef.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xbef.py
b/youtube_dl/extractor/xbef.py
index 80c48c37d32c0849e689d626811ee34c5b414ee0..4ff99e5ca37fb8f4f0b663cc99761c31e75f1cf4 100644
(file)
--- 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 __future__ import unicode_literals
from .common import InfoExtractor
-from ..compat import (
- compat_urllib_parse,
-)
+from ..compat import compat_urllib_parse_unquote
class XBefIE(InfoExtractor):
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_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')
config = self._download_xml(
config_url, video_id, note='Retrieving config')