projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17b41a3
)
[twitch] Fix non-ASCII logins/passwords on python 2
author
Sergey M․
<dstftw@gmail.com>
Fri, 10 Jul 2015 15:40:21 +0000
(21:40 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 10 Jul 2015 15:40:21 +0000
(21:40 +0600)
youtube_dl/extractor/twitch.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twitch.py
b/youtube_dl/extractor/twitch.py
index df809ecfecb841a3d141c17571a3699fad6949a3..49535cd80c8183be556aed196094e322ceb41574 100644
(file)
--- a/
youtube_dl/extractor/twitch.py
+++ b/
youtube_dl/extractor/twitch.py
@@
-64,8
+64,8
@@
class TwitchBaseIE(InfoExtractor):
login_page))
login_form.update({
- 'login': username,
- 'password': password,
+ 'login': username
.encode('utf-8')
,
+ 'password': password
.encode('utf-8')
,
})
request = compat_urllib_request.Request(