atupal / webqq

urllib2模拟登陆webqq接收发消息, 还有一个cli版本的在github上
57 stars 29 forks source link

运行new_qq/runqq.py报错啊 #2

Open leveryd opened 10 years ago

leveryd commented 10 years ago

第一个异常:找不到cookie,难道我要用浏览器登录了webqq,然后手动把cookie保存到res目录下? 第二个错误: 0 !MZV \x00\x00\x00\x00\x5d\xbd\x9a\xd6', 'd8be18d719eef17257165684cffff0fe012a31b0155472b38d9a5a73e167c64a57b5e23d9554bdb584d8af2eece98f24 Traceback (most recent call last): File "runqq.py", line 111, in Q.run() File "runqq.py", line 93, in run self.qq.loginGet() File "/home/guang/webqq-master/new_qq/login_qq.py", line 114, in loginGet +'&h=1' File "/home/guang/webqq-master/new_qq/encryption.py", line 26, in md5_2 pwd_2 = self.hex_md5hash(pwd_1 + self.hexchar2bin(verifyCode2)) File "/home/guang/webqq-master/new_qq/encryption.py", line 21, in hexchar2bin uin_final += chr(int(i, 16)) ValueError: invalid literal for int() with base 16: "d6', 'd8be18d719eef17257165684cffff0fe012a31b0155472b38d9a5a73e167c64a57b5e23d9554bdb584d8af2eece98f24"

atupal commented 10 years ago

第一个错误是正常的调试信息,见 cliqq/issue9(我改下,,逃,

第二个是webqq 改了密码得加密算法了 :cry: