Code Monkey home page Code Monkey logo

myproxypool's Introduction

MyProxyPool

这是利用flask开发的异步代理池接口

项目主要几大模块分别是调度器,爬取器,存储器,校验器块,接口模块。

1.调度器:负责调度爬取器和校验器的运行。
2.爬取器:负责爬取代理网站,并将所得到的代理存入到数据库,每个代理的初始化权值为 5。
3.存储器:封装了 Redis 操作的接口,提供 Redis 连接池。
4.校验器:验证代理 IP 是否可用,如果代理可用则权值 +1,最大值为 10。不可用则权值 -1,直至权值为 0 时将代理从数据库中删除。
5.接口模块:使用 sanic 提供 WEB API 。

目前接受的爬取代理ip网站有: 西刺代理 站大爷代理 66ip代理 快代理 无忧代理 ip海代理

myproxypool's People

Contributors

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