Giter Club home page Giter Club logo

waiwai-spider's Introduction

歪歪漫画爬虫

爬取流程

  1. 获取所有要爬的漫画数据列表
  2. 获取漫画目录详情
  3. 获取漫画详情
  4. 下载整理详情的内容

注意事项

  1. ip不能过于频繁
  2. 没有登录无法获取漫画之后的详情

技术思路 (结构体)

Spider

创建一个spider 结构体 存放这个网站的相关采集结构

Tasker

创建一个task 的结构体用于存储每次http的相关数据,以便于控制并发和cookie管理 每个任务都是3个步骤

  1. 执行
  2. 记录/报告 情况
  3. 下一步

Queue

并发安全的内存队列,支持多消费

TODO

  • 采集书单
  • 采集章节
  • 采集文章内容
  • 存储书单
  • 存储章节
  • 存储文章内容

waiwai-spider's People

Contributors

locxiang avatar

Stargazers

 avatar  avatar

Watchers

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