Code Monkey home page Code Monkey logo

piwebqq's Introduction

WebQQ-for-Raspberry-Pi

运行于Raspberry Pi, 基于WebQQ协议, 使用Python脚本编写.

登陆时需要在py脚本内设置需要登陆的QQ号及密码, 如需使用二维码(QRCode)的登陆方式可以了解一下下面这个 Repository. SmartQQ-for-Raspberry-Pi

程序运行后,不会有任何输出,因为日志都已经记录在程序所在目录的qq.log中, 可通过tail -f qq.log查看日志.

登陆时,如果需要验证码, 请在程序所在目录里找到v.jpg,认出验证码后, 在程序所在目录里创建一个 v.txt 的文件,内容为与图片对应的验证码. 可使用以下命令将验证码输入至v.txt中.

echo "abcd" > v.txt

因为程序是设计运行在Raspberry Pi上且通过后台的方式运行, 所以不提供交互式的验证码输入功能,而是采用通过每隔3秒(尝试20次)读取特定文件v.txt来得到验证码的功能.

对于不会一点Python的同学,不建议使用本程序且不接受所提的issue. 请各位在提issue之前先阅读一遍代码(WebQQ.py),以了解程序的流程及处理逻辑.

#####2015-03-25 更新

因WebQQ更新登陆时密码的加密方式, 在加密时使用了RSA, 所以在使用本程序时确保你的Python中有安装 RSA(https://pypi.python.org/pypi/rsa) 模块.

#####2016-02-19 更新

因QQ官方已经停止了WebQQ项目(仅保留了使用二维码登陆的方式), 故本仓库的代码已经不能再使用了. 建议使用 SmartQQ-for-Raspberry-Pi

piwebqq's People

Contributors

xqin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

piwebqq's Issues

ERROR get validate code error

[2015-04-06 02:08:17] WebQQ.py[line:131] INFO need validate code
[2015-04-06 02:09:17] WebQQ.py[line:148] ERROR get validate code error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.