diff options
-rw-r--r-- | youtube_dl/extractor/twitch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index df809ecfe..49535cd80 100644 --- 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( |