youtube-dl

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

commit 2988835af5cbe695e61d3b58bc65027f5b48fb63
parent 62cca96b729424fa71a3b174af7b646cc1cf12f2
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 26 Jun 2015 19:48:23 +0600

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

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

diff --git a/youtube_dl/extractor/lynda.py b/youtube_dl/extractor/lynda.py @@ -30,8 +30,8 @@ class LyndaBaseIE(InfoExtractor): return login_form = { - 'username': username, - 'password': password, + 'username': username.encode('utf-8'), + 'password': password.encode('utf-8'), 'remember': 'false', 'stayPut': 'false' }