Giter Site home page Giter Site logo

kikiyou / qqzone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shomyliu/qqzone

0.0 0.0 0.0 43 KB

This is a tool to login qq zone using python, with multithreads to scrapy what you want,such as, message, blogs board, and photos.

Python 17.91% JavaScript 81.70% HTML 0.39%

qqzone's Introduction

一个简单的模拟登录qq空间的工具

目前该程序使用python实现了模拟登录qq空间,并且实现多线程爬取qq相册模块,其余模块等同。

环境依赖

  • python2.7
  • PyV8:一个用来在Python下执行js代码的轻量的对googlev8的一个封装。安装教程:PyV8安装

模块简介

程序提供了两种登录方式: 扫二维码登录以及输入帐号密码登录。爬取相册时,以相册主人的qq作为文件夹,在当前目录保存其图片。

  • webHandler.py: 对网络请求的一个简单封装
  • scrapyHandler.py: 多线程模块的一个封装
  • qq.py: 模拟登录qq,以及爬取qq相册
  • test.py 提供一份测试代码,从中可以知道用法

后续

  • 不足
    • 虽然提供了两种方式登录,不过在使用帐号密码登录失败次数过多,从而产生验证码的时候,即使输入正确的验证码,也会返回错误,另代解决。
    • 代码不太规范~
  • 只实现了爬取相册的功能,其他模块可自己添加。

参考

qqzone's People

Contributors

shomyliu 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.