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)
2022-02-13 00:33:49 +03:00

HTTP, SOCKS4, SOCKS5 proxies scraper and checker.
- Asynchronous.
2023-01-15 13:05:16 +03:00
- Uses regex to search for proxies (ip:port format) on a web page, allowing proxies to be extracted even from json without making changes to the code.
- It is possible to specify the URL to which to send a request to check the proxy.
- Can sort proxies by speed.
2022-02-13 00:33:49 +03:00
- Supports determining the geolocation of the proxy exit node.
2023-01-15 13:05:16 +03:00
- Can determine if the proxy is anonymous.
2022-02-13 00:33:49 +03:00
2022-04-08 12:00:43 +03:00
You can get proxies obtained using this script in [monosans/proxy-list ](https://github.com/monosans/proxy-list ).
2022-10-16 15:52:23 +03:00
## Installation and usage
2022-02-13 00:33:49 +03:00
2023-07-12 23:26:05 +03:00
### Desktop
2022-03-08 10:34:37 +03:00
- Download and unpack [the archive with the program ](https://github.com/monosans/proxy-scraper-checker/archive/refs/heads/main.zip ).
2023-07-12 23:26:05 +03:00
- Edit `config.ini` to your preference.
2023-05-11 13:52:44 +03:00
- Install [Python ](https://python.org/downloads ) (minimum required version is 3.7).
2023-07-12 23:26:05 +03:00
- Run the script that installs dependencies and starts `proxy-scraper-checker` :
- On Windows run `start.cmd`
- On Unix-like operating systems run `start.sh`
### Termux
To use `proxy-scraper-checker` in Termux, knowledge of the Unix command-line interface is required.
- 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-deprecated ).
- Run the following command (it will automatically update Termux packages, install Python, and download and install `proxy-scraper-checker` ):
```bash
2023-07-12 23:29:40 +03:00
bash <(curl -fsSL 'https://raw.githubusercontent.com/monosans/proxy-scraper-checker/main/install-termux.sh')
2023-07-12 23:26:05 +03:00
` ``
- Edit ` ~/proxy-scraper-checker/config.ini` to your preference using a text editor (vim/nano).
- To run ` proxy-scraper-checker` use the following command:
` ``bash
cd ~/proxy-scraper-checker && sh start-termux.sh
` ``
2022-02-13 00:33:49 +03:00
## Folders description
When the script finishes running, the following folders will be created (this behavior can be changed in the config):
- ` proxies` - proxies with any anonymity level.
- ` proxies_anonymous` - anonymous proxies.
2022-04-08 12:00:43 +03:00
- ` proxies_geolocation` - same as ` proxies`, but includes exit-node's geolocation.
- ` proxies_geolocation_anonymous` - same as ` proxies_anonymous`, but includes exit-node's geolocation.
2022-02-13 00:33:49 +03:00
2022-04-08 11:05:57 +03:00
Geolocation format is ` ip:port|Country|Region|City`.
2022-02-13 00:33:49 +03:00
## License
[MIT ](LICENSE )