youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit c0bf5e1c4dc0a236402c946b0b1fd358f9e39a74
parent 17b41a3337b5326fd2c8dec8aa1ab285225e1daa
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 10 Jul 2015 21:40:21 +0600

[twitch] Fix non-ASCII logins/passwords on python 2

Diffstat:
Myoutube_dl/extractor/twitch.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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(