KIAN SANTANG: Proxy Scraper + Checker is a Python script designed to scrape proxy lists from multiple sources, filter proxies by type (HTTP, HTTPS, SOCKS4, SOCKS5), and check their availability (live or dead).
- Scrape Proxies: Automatically grab proxy lists from a set of provided URLs (
source.txt
file). - Filter by Type: Filter proxies into specific types (HTTP, HTTPS, SOCKS4, SOCKS5).
- Check Proxy Status: Test proxies to determine if they are live or dead.
- Save Results: Automatically save scraped and checked proxy data into the
results
directory.
- Add your list of proxy source URLs to the file
source.txt
(one URL per line) or leave blank if you want to use the default source. - Run the script.
- Choose the type of proxy you'd like to filter (HTTP, HTTPS, SOCKS4, SOCKS5).
- The script will scrape proxies, filter them, and save the results to a timestamped file.
- Optionally, continue to test whether the proxies are live or not.
-
Clone/Download:
- Download this repo or clone in terminal:
git clone https://github.com/KianSantang777/KianSantang-prox.git
- Download this repo or clone in terminal:
-
Setup:
- Install the necessary dependencies by running:
pip install requests tqdm colorama
- Ensure the
source.txt
file is in the same directory as the script, containing URLs to scrape proxies from.
- Install the necessary dependencies by running:
-
Run the Script:
- Execute the script with:
python main.py
- Follow the on-screen prompts:
- Choose the proxy type you want (HTTP, HTTPS, SOCKS4, SOCKS5).
- Proceed to the optional step to check the proxies.
- Execute the script with:
-
Output:
- Scraped proxies will be saved in the
results
directory:- e.g.,
1_proxies_YYYYMMDD_HHMMSS.txt
(filtered by type). - e.g.,
live_1_proxies_YYYYMMDD_HHMMSS.txt
(after the live check).
- e.g.,
- Scraped proxies will be saved in the