projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d67cc9f
)
[nfb] Add encode POST data
author
Sergey M.
<dstftw@gmail.com>
Thu, 6 Feb 2014 19:13:04 +0000
(
02:13
+0700)
committer
Sergey M.
<dstftw@gmail.com>
Thu, 6 Feb 2014 19:13:04 +0000
(
02:13
+0700)
youtube_dl/extractor/nfb.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nfb.py
b/youtube_dl/extractor/nfb.py
index 09de724f9cc31328dc9193ac0a623dbf222e031e..92b4bb8df9e8b310ae5b044deb6d523099b3d8bb 100644
(file)
--- a/
youtube_dl/extractor/nfb.py
+++ b/
youtube_dl/extractor/nfb.py
@@
-43,7
+43,7
@@
class NFBIE(InfoExtractor):
page, 'director name', fatal=False)
request = compat_urllib_request.Request('https://www.nfb.ca/film/%s/player_config' % video_id,
- compat_urllib_parse.urlencode({'getConfig': 'true'}))
+ compat_urllib_parse.urlencode({'getConfig': 'true'})
.encode('ascii')
)
request.add_header('Content-Type', 'application/x-www-form-urlencoded')
request.add_header('X-NFB-Referer', 'http://www.nfb.ca/medias/flash/NFBVideoPlayer.swf')