Coder Social home page Coder Social logo

proxiesstack's Introduction

ProxiesStack

Docker Hub Repository

This is a service grabbing a website page, looking for addresses of proxy servers and checking their status.

Requirements

Redis require for data storage. The Redis host must be set in the REDIS_HOST environment variable.

Environment

You can set next environment variables:

  • REDIS_HOST - (require) Host and port of the Redis Server. For example: "192.168.0.1:6379"
  • TIMEOUT - (10 sec) Timeout of HTTP requests in seconds. After expiration of the timeout a proxy server will be marked as not working.
  • NO_SCAN - (False) Specify should avoid scanning and running only as API server
  • SCAN_INTERVAL - (5 min) The Interval between the scanning
  • GRAB_ADDRESS - An address of the page contains hosts of proxy servers
  • GRAB_PATTERN - Regex pattern the host on the page. Must contain next groups: host, port and https.
  • SCAN_ADDRESS - An address of the page which have to match The Regex Pattern in SCAN_PATTERN
  • SCAN_PATTERN - Regex pattern. If a match is exists proxy host will mark as working

API

At the moment API has next requests:

  • /info - Return information about scanning status, amount proxy hosts and etc.
  • /working/pop - Return one proxy host and mark it as not working until next scanning, if it will be working.

proxiesstack's People

Contributors

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