Giter VIP home page Giter VIP logo

proxypool's Introduction

ProxyPool

获取免费IP代理池(目前仅支持西刺和快代理,使用redis做存储)

环境要求

PHP 5.4 以上版本,强烈推荐php7,性能更好

项目初始化

composer install

执行脚本爬取IP并插入redis

php run.php

获取IP,项目地址指向根目录的index.php

例:http://127.0.0.1/get       //获取单个IP
例:http://127.0.0.1/get_all   //获取数据库中全部IP
例:http://127.0.0.1/status    //获取数据库中IP数量
例:http://127.0.0.1/pop       //随机取出一个ip,并删除它

检查数据库中的IP可用性,丢弃不可用IP

php check.php

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.