Code Monkey home page Code Monkey logo

jyeoo-crawler-gui's Introduction

菁优网爬虫

说明

  • interface 为第二版爬虫基于pyqt5 + selenium + PhantomJS 半自动方式

1.采用GUI界面方式半自动爬取,不限制账号,普通账号也可按次数爬取默认100次。此次数为请求次数,实际获取课题id为每页10*100页等于1000条数据

2.手动登陆,弹出浏览器页面可用qq方式登陆,后关闭窗口。获取cookie数据

3.爬虫方式使用selenium+PhantomJS无头浏览器方式静默爬取。因PhantomJS只有10M并满足现有功能,就没有使用谷歌火狐无头模式,即便谷歌火狐更好。后期可更换

4.目前已爬取真实课题ID为目标的半自动爬虫工具,后期待加入爬取详情页数据。详情页数据每次访问为一个真实请求,并且无账号也可访问。故为第二目标

操作方法

登陆与获取登陆账号信息

  • 手动QQ登陆,登陆后自动跳转到菁优网主页,获取cookie信息 login

章节爬取

  • 章节爬取会自动将原来的已爬取数据进行更新,已爬取的题库数据不会丢失 zhangjie

题库爬取

  • 支持自动翻页,后期加上断点续爬功能 tiku

详情页爬取

  • 已完成,爬取详情页,和详情中的知识点。

开发环境

环境

安装依赖包环境 pip install -r requirements.txt

编译生成windows可执行程序

pyinstaller main.spec

启动

python main.py

jyeoo-crawler-gui's People

Contributors

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