scrape proxies from more than 5 different sources and check which ones are still alive
Project description
Proxy scraper and checker
Scrape more than 1K HTTP - HTTPS - SOCKS4 - SOCKS5 proxies in less than 2 seconds.
Scraping fresh public proxies from different sources:
- sslproxies.org (HTTP, HTTPS)
- free-proxy-list.net (HTTP, HTTPS)
- us-proxy.org (HTTP, HTTPS)
- socks-proxy.net (Socks4, Socks5)
- proxyscrape.com (HTTP, Socks4, Socks5)
- proxy-list.download (HTTP, HTTPS, Socks4, Socks5)
- geonode.com (HTTP, HTTPS, Socks4, Socks5)
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 -p http -t 20 -s https://google.com -l output.txt
python3 proxyChecker.py -p https -t 20 -s https://google.com -l output.txt
python3 proxyChecker.py -p socks4 -t 20 -s https://google.com -l output.txt
python3 proxyChecker.py -p socks5 -t 20 -s https://google.com -l output.txt
- With
-t
or--timeout
, dismiss the proxy after -t seconds (Default is 20) - With
-p
or--proxy
, check HTTPS,HTTP,SOCKS4 or SOCKS5 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
-r
or--random_agent
, it will use a random user agent per proxy. - 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 checks HTTP(S) proxies.
Star History
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Issues
Feel free to submit issues and enhancement requests or contact me via vida.page/nima.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
proxyz-0.1.0.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file proxyz-0.1.0.tar.gz
.
File metadata
- Download URL: proxyz-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2636f77091710832967eec9d8f8f93b7b65b456457096d9d0d1ef3a6d12e9d18 |
|
MD5 | 631c224c670863340838c1db832d4b21 |
|
BLAKE2b-256 | 7b2703bc1bc1f0fd39974c7daa23ed0b3df95a5ed7f4f01017786c18194adc45 |
File details
Details for the file proxyz-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: proxyz-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8a50ef1c640102b33943fa96265cdeed417df626ac743759d068371c21956ef |
|
MD5 | 146284d36d5dd5ed42c64c8eb41a944e |
|
BLAKE2b-256 | 8b1a17e8b1d9743deb5e7268f9f2e1780c2e38cfee4f69016ffbcd1659c24889 |