2022-02-13 00:33:49 +03:00
# proxy-scraper-checker
2023-05-11 13:52:44 +03:00
[](https://github.com/monosans/proxy-scraper-checker/actions/workflows/ci.yml)
2025-04-14 16:54:30 +03:00

2022-02-13 00:33:49 +03:00
HTTP, SOCKS4, SOCKS5 proxies scraper and checker.
2025-04-10 06:55:12 +00:00
- Written in Rust.
2023-01-15 13:05:16 +03:00
- Can determine if the proxy is anonymous.
2024-01-21 17:45:01 +00:00
- Supports determining the geolocation of the proxy exit node.
- Can sort proxies by speed.
2024-08-26 08:54:44 +03:00
- Uses regex to find proxies of format `protocol://username:password@host:port` on a web page or in a local file, allowing proxies to be extracted even from json without code changes.
2024-01-21 17:45:01 +00:00
- Supports proxies with authentication.
- It is possible to specify the URL to which to send a request to check the proxy.
- Supports saving to plain text and json.
- Asynchronous.
2022-02-13 00:33:49 +03:00
2024-01-21 17:45:01 +00:00
You can get proxies obtained using this project in [monosans/proxy-list ](https://github.com/monosans/proxy-list ).
2022-04-08 12:00:43 +03:00
2022-10-16 15:52:23 +03:00
## Installation and usage
2022-02-13 00:33:49 +03:00
2025-04-10 06:55:12 +00:00
### Binary
2024-01-21 17:45:01 +00:00
2025-04-10 13:34:15 +00:00
> [!NOTE]
2025-04-10 19:45:18 +03:00
> There is a separate section for Termux.
2025-04-10 13:34:15 +00:00
2025-04-10 14:21:30 +03:00
1. Download the archive for your platform from [nightly.link ](https://nightly.link/monosans/proxy-scraper-checker/workflows/ci/main?preview ). If you are not sure which archive you need, use [the table ](https://doc.rust-lang.org/beta/rustc/platform-support.html ).
2025-04-10 06:55:12 +00:00
1. Unpack the archive into a separate folder.
1. Edit `config.toml` to your preference.
1. Run the executable.
2024-05-08 15:05:34 +03:00
2024-02-01 07:24:26 +00:00
### Docker
2025-04-11 12:44:25 +03:00
> [!NOTE]
> Only a simple user interface in the form of logs is implemented for Docker.
2024-02-01 07:24:26 +00:00
2025-04-10 06:55:12 +00:00
1. [Install `Docker Compose` ](https://docs.docker.com/compose/install/ ).
2025-04-16 16:28:20 +03:00
1. Download the archive for your platform from [nightly.link ](https://nightly.link/monosans/proxy-scraper-checker/workflows/ci/main?preview ). Look for artifacts named `proxy-scraper-checker-docker` .
2025-04-10 06:55:12 +00:00
1. Unpack the archive into a separate folder.
1. Edit `config.toml` to your preference.
1. Run the following commands:
2024-01-21 17:45:01 +00:00
2025-04-10 06:55:12 +00:00
Windows:
2024-01-21 17:45:01 +00:00
2025-04-10 06:55:12 +00:00
```bash
2025-04-14 13:08:00 +03:00
docker compose build
2025-04-10 06:55:12 +00:00
docker compose up --no-log-prefix --remove-orphans
` ``
2023-07-12 23:26:05 +03:00
2025-04-10 06:55:12 +00:00
Linux/macOS:
2023-07-12 23:26:05 +03:00
2025-04-10 06:55:12 +00:00
` ``bash
2025-04-14 13:08:00 +03:00
docker compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g)
2025-04-10 06:55:12 +00:00
docker compose up --no-log-prefix --remove-orphans
` ``
2022-02-13 00:33:49 +03:00
2025-04-10 13:34:15 +00:00
### Termux
1. Download Termux from [F-Droid](https://f-droid.org/en/packages/com.termux/). [Don't download it from Google Play](https://github.com/termux/termux-app#google-play-store-experimental-branch).
1. Run the following command. It will automatically download and install ` proxy-scraper-checker`.
` ``bash
bash <(curl -fsSL 'https://raw.githubusercontent.com/monosans/proxy-scraper-checker/main/termux.sh')
` ``
1. Edit ` ~/proxy-scraper-checker/config.toml` to your preference using a text editor (vim/nano).
1. To run ` proxy-scraper-checker` use the following command:
` ``bash
cd ~/proxy-scraper-checker && ./proxy-scraper-checker
` ``
2022-02-13 00:33:49 +03:00
## License
[MIT ](LICENSE )
2024-01-21 17:45:01 +00:00
This product includes GeoLite2 Data created by MaxMind, available from <https://www.maxmind.com>.