projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3671b3
)
[facebook] Use compat_urllib_parse_unquote
author
Sergey M․
<dstftw@gmail.com>
Fri, 17 Jul 2015 17:37:56 +0000
(23:37 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 17 Jul 2015 17:37:56 +0000
(23:37 +0600)
youtube_dl/extractor/facebook.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/facebook.py
b/youtube_dl/extractor/facebook.py
index 82dc27bc6ff3ed2edd3b318f3ed3d14e360ef22d..e17bb9aeac51e2e10e2b68b4391d3022af35bcd5 100644
(file)
--- a/
youtube_dl/extractor/facebook.py
+++ b/
youtube_dl/extractor/facebook.py
@@
-9,7
+9,7
@@
from ..compat import (
compat_http_client,
compat_str,
compat_urllib_error,
- compat_urllib_parse,
+ compat_urllib_parse
_unquote
,
compat_urllib_request,
)
from ..utils import (
@@
-136,7
+136,7
@@
class FacebookIE(InfoExtractor):
else:
raise ExtractorError('Cannot parse data')
data = dict(json.loads(m.group(1)))
- params_raw = compat_urllib_parse
.
unquote(data['params'])
+ params_raw = compat_urllib_parse
_
unquote(data['params'])
params = json.loads(params_raw)
video_data = params['video_data'][0]