Git Product home page Git Product logo

tiku_spider's Introduction

tiku_sprider

帮别人写的一个题库爬虫,包括抓取试题,抓取答案,图像识别答案,抓取分类,导入数据库

  • category.py 运行可在当前目录下生成分类数据 cate.txt
    • 单线程运行 速度较慢
  • sprider.py 运行可在当前目录下生成 某个分类的 试题数据 data.txt
    • 单线程运行 速度较慢
  • sprider2.py 运行可在data文件夹下创建以每个分类编号命名的 试题数据
    • 线程池 + 队列 + 消费者生产者模型 速度较快
  • sprider_qustion 运行可抓取data文件夹内所有问题的答案数据,生成ans_all.txt
    • 线程池 + 队列 + 消费者生产者模型 速度较快
    • 自动识别图像类型的答案
  • dbsave.py 运行可将所有数据导入数据库
    • 线程池 + 队列 + 消费者生产者模型 速度较快

随手写的工具,没怎么优化。不过测试单机可以很快抓取10w+试题,答案,以及几十万图片

tiku_spider's People

Contributors

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