#http-proxy #socks5-proxy #web-scraping #proxy #socks5 #http #checker

app proxy-scraper-checker

A command-line tool for scraping and checking HTTP and SOCKS5 proxies from the checkerproxy.net proxies archive

4 releases

0.1.3 Jun 14, 2024
0.1.2 Jan 8, 2024
0.1.1 Oct 8, 2023
0.1.0 Oct 6, 2023

#1048 in Command line utilities

Download history 6/week @ 2024-07-26 5/week @ 2024-09-20

188 downloads per month

MIT license

27KB
510 lines

Proxy-Scraper-Checker

A command-line tool for scraping and checking HTTP and SOCKS5 proxies from the checkerproxy.net proxies archive. By default, the working proxies are written to proxies/http.txt and proxies/socks5.txt according to the respective proxy type.

image

Docker

Local

$ docker build -t proxy-scraper-checker:latest .
$ docker run -it -v ./proxies:/proxies --rm proxy-scraper-checker:latest

GitHub Container Registry

$ docker run -it -v ./proxies:/proxies --rm ghcr.io/xewdy444/proxy-scraper-checker:latest

Installation

Local

$ cargo install --path .

Rust Package Registry

$ cargo install proxy-scraper-checker

Usage

A command-line tool for scraping and checking HTTP and SOCKS5 proxies from the checkerproxy.net proxies archive

Usage: proxy-scraper-checker.exe [OPTIONS]

Options:
  -u, --url <URL>          The URL to check the proxies against [default: https://httpbin.org/ip]
      --tasks <TASKS>      The number of tasks to run concurrently for checking proxies [default: 512]
      --timeout <TIMEOUT>  The proxy request timeout in seconds [default: 30]
  -f, --folder <FOLDER>    The folder to save the working proxies to [default: proxies]
  -a, --anonymous          Only save anonymous proxies
      --http               Only save HTTP proxies
      --socks5             Only save SOCKS5 proxies
  -n, --no-set-limit       Do not set the open file limit (tasks * 2)
  -h, --help               Print help

Dependencies

~14–26MB
~380K SLoC