Giter VIP home page Giter VIP logo

proxypool's Introduction

proxyPool

自建代理池

  • cmd.py

    • 命令行工具
  • settings.py

    • 项目配置
  • proxyPool.py

    • 代理池控制(redis 有序集合)
  • vpsClient.py

    • vps拨号客户端
  • server.py

    • web服务
  • schedule.py

    • 任务调度,以及拨号策略

版本 0.1.0

  • 功能

  • vps使用tinyproxy进行拨号

  • 代理池以redis的有序列表维护

  • 两种模式拨号:定时拨号,次数拨号;拨号任务均采用协程并发完成

  • 接口是使用fastapi实现,默认使用过次数少的ip

  • 可优化

  • 拨号流程代码可优化

  • 项目配置及各类初始化参数优化

  • 异常处理

  • 封装为库

版本 0.1.1

  • 解决tinyproxy运行一段时间代理失效问题
  • 增加拨号超时,防止协程阻塞

版本 0.1.2

  • 反向代理工具替换为squid,代理为高匿
  • 优化多台机器分批次拨号代码
  • 优化vps拨号客户端代码,初始化带vps是创建ssh终端并维护
  • 优化拨号时间(vps客户端,代理检测,批次优化,调度器初始化优化)

版本 0.1.3

  • api /proxies 添加分数限制

proxypool's People

Contributors

andy0andy avatar

Stargazers

tutu avatar

Watchers

 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.