This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[twitch] Fix non-ASCII logins/passwords on python 2
totalwebcasting
Sergey M․
9 years ago
parent
17b41a3337
commit
c0bf5e1c4d
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
youtube_dl/extractor/twitch.py
+ 2
- 2
youtube_dl/extractor/twitch.py
View File
@ -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
(
Write
Preview
Loading…
Cancel
Save