Code Monkey home page Code Monkey logo

proxy-scraper's Introduction

Proxy scraper and checker

Scrape more than 1K HTTP proxies in less than 2 seconds.

Scraping fresh public proxies from different sources:

Installation

Use this command to install dependencies.

pip3 install -r requirements.txt

Usage

For scraping:

python3 proxyScraper.py -p http
  • With -p or --proxy, You can choose your proxy type. Supported proxy types are: HTTP - HTTPS - Socks (Both 4 and 5) - Socks4 - Socks5
  • With -o or --output, create and write to a .txt file. (Default is output.txt)
  • With -v or --verbose, more details.
  • With -h or --help, Show help to who did't read this README.

For checking:

python3 proxyChecker.py -t 20 -s google.com -l output.txt
  • With -t or --timeout, dismiss the proxy after -t seconds (Default is 20)
  • With -p or --proxy, check HTTPS or HTTP proxies (Default is HTTP)
  • With -l or --list, path to your list.txt. (Default is output.txt)
  • With -s or --site, check with specific website like google.com. (Default is google.com)
  • With -v or --verbose, more details.
  • With -h or --help, Show help to who did't read this README.

Good to know

  • Dead proxies will be removed and just alive proxies will stay.
  • This script is also able to scrape Socks, but proxyChecker only check HTTP(S) proxies.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Credit

License

MIT

proxy-scraper's People

Contributors

hoopengo avatar iw4p avatar migotolearn 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.