Git Product home page Git Product logo

qqrobot's Introduction

基于webqq协议和小i机器人的qq机器人。

你可以加QQ 2915573785 和这个机器人测试聊天(测试QQ已不可用)。直接聊天,不用加#,如:

你好

也可以把它加入到你管理的一个群里面(测试QQ已不可用),聊天的时候前面加个#,如:

#你好

需要安装依赖库: pyquery requests.py

使用说明:

将libqq.py中test函数中的qq和pwd修改成你的机器人qq账号。
python libqq.py即可启动,如果需要输入验证码,请手动打开程序根目录下面的vc.jpg然后输入。
如果安装了pil模块那么可以在libqq.py中_get_verifycode改成如下:
    def _get_verifycode(self):
        '''获取验证码'''
        url = 'http://captcha.qq.com/getimage?aid=1003903&r=%s&uin=%s&vc_type=%s'
        url %= r(), self.qq, self.vc
        logging.debug('getting verifycode')
        img = n.get(url)
        open('vc.jpg', 'wb').write(img)
        import Image
        Image.open('vc.jpg').show()
        return img

另外一个基于webqq协议的qq客户端:https://github.com/Shu-Ji/coco

本程序Github地址:https://github.com/Shu-Ji/qqrobot

qqrobot's People

Contributors

shu-ji avatar

Watchers

kissthink avatar

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.