Git Product home page Git Product logo

proxy-scraper-1's Introduction

Proxy Scraper & Checker & Free List

Easy proxy scraper & checker, and publicly available list

usage: proxy-scraper.py [-h] [-c] -o OUTPUT [-t THREADS] [--timeout TIMEOUT]
                        [--http] [--check-with-website CHECK_WITH_WEBSITE]
                        [--country] [--connection-time] [-f] [-i]

optional arguments:
  -h, --help            show this help message and exit
  -c, --check           Check the scraped proxies
  -o OUTPUT, --output OUTPUT
                        Output file
  -t THREADS, --threads THREADS
                        Checker threads count (default: 30)
  --timeout TIMEOUT     Checker timeout in seconds (default: 5)
  --http                Check proxies for HTTP instead of HTTPS
  --check-with-website CHECK_WITH_WEBSITE (default: httpbin.org/ip)
                        Website to connect with proxy. If it doesn't return
                        HTTP 200, it's dead
  --country             Locate and print country (requires maxminddb-geolite2)
  --connection-time     Print connection time information
  -f, --write-immediately
                        Force flush the output file every time
  -i, --extra-information
                        Print last updated time, and configuration description

This runs on my server:

python3 /root/proxy-scraper.py --check -t 300 --timeout 5 --check-with-website httpbin.org/ip --country --connection-time --extra-information --output /home/admin/web/cagriari.com/public_html/fresh_proxy.txt 



Hourly Daily updated & checked proxy list: https://cagriari.com/fresh_proxy.txt

I'm no longer running it on my server as it doesn't cover the server costs.

I changed the interval to every 6 hours instead of hourly to decrease server load.

proxy-scraper-1's People

Contributors

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