projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b6c896
)
[vk] Fix authentication for non-ASCII login/password
author
Sergey M․
<dstftw@gmail.com>
Fri, 12 Jun 2015 21:09:35 +0000
(
03:09
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 12 Jun 2015 21:09:35 +0000
(
03:09
+0600)
youtube_dl/extractor/vk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vk.py
b/youtube_dl/extractor/vk.py
index cc384adbf9837f35f90c64d0e8dc0396b0b601ec..d0e772108fe875100a8c2ceaec961814de0ab0e6 100644
(file)
--- a/
youtube_dl/extractor/vk.py
+++ b/
youtube_dl/extractor/vk.py
@@
-119,8
+119,8
@@
class VKIE(InfoExtractor):
'act': 'login',
'role': 'al_frame',
'expire': '1',
- 'email': username,
- 'pass': password,
+ 'email': username
.encode('cp1251')
,
+ 'pass': password
.encode('cp1251')
,
}
request = compat_urllib_request.Request('https://login.vk.com/?act=login',