HTTP, SOCKS4, SOCKS5 proxies scraper and checker. Supports determining exit-node's geolocation for each proxy.
For a version that uses Python's built-in logging
instead of rich, see the simple-output branch.
You can get proxies obtained using this script in https://github.com/monosans/proxy-list (updated every 30 minutes).
- Make sure
Python
version is 3.7 or higher. - Install dependencies from
requirements.txt
(python -m pip install -U -r requirements.txt
).- If you want to improve the performance, you can also install
cchardet
. See aiohttp documentation.
- If you want to improve the performance, you can also install
- Edit
config.py
according to your preference. - Run
main.py
.
When the script finishes running, the following folders will be created:
-
proxies
- proxies with any anonymity level. -
proxies_anonymous
- anonymous proxies. -
proxies_geolocation
- same asproxies
, but including exit-node's geolocation. -
proxies_geolocation_anonymous
- same asproxies_anonymous
, but including exit-node's geolocation.
Geolocation format is ip:port::Country::Region::City.
Ask for details in Telegram or VK.
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.