An automated tool for downloading and testing proxies. Supports HTTP, HTTPS, SOCKS4, and SOCKS5 protocols.
- Automatic proxy download from multiple sources
- Multi-threaded proxy testing
- Support for HTTP, HTTPS, SOCKS4, SOCKS5
- Display speed and IP for each proxy
- Save working proxies by type
- Beautiful colored output
-
Install Python 3.8 or higher from python.org
-
Download code and install dependencies:
# Clone or download repository
git clone <repository-url>
cd getproxy
# Install dependencies
pip install -r requirements.txt
- Run the program:
python proxy_manager.py
- Install Python and required tools:
# Update system
sudo apt update
sudo apt install python3-venv python3-pip -y
# Create project directory
mkdir -p /root/proxy_manager
cd /root/proxy_manager
# Clone or upload code to this directory
- Create and activate Virtual Environment:
# Create virtual environment
python3 -m venv venv
# Activate virtual environment
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Run the program:
python proxy_manager.py
# Install screen
sudo apt install screen -y
# Create new screen session
screen -S proxy
# Activate venv and run program
source venv/bin/activate
python proxy_manager.py
# Press Ctrl+A then D to detach screen while keeping program running
# To return to screen session, use:
screen -r proxy
# Run in background
nohup venv/bin/python proxy_manager.py > output.log 2>&1 &
# View logs
tail -f output.log
- When running the program, you'll be asked whether to test existing proxies or download new ones
- If downloading new proxies, the program will:
- Download proxies from multiple sources
- Combine and remove duplicates
- Save to the
proxies
folder
- Select proxy type to test (HTTP, HTTPS, SOCKS4, SOCKS5)
- The program will test proxies and show:
- Progress bar showing completion
- Working proxies with their speed
- Save working proxies in
protocol://ip:port
format
proxies/http_allfiles.txt
- All HTTP proxiesproxies/https_allfiles.txt
- All HTTPS proxiesproxies/socks4_allfiles.txt
- All SOCKS4 proxiesproxies/socks5_allfiles.txt
- All SOCKS5 proxiesproxies/working_*.txt
- Tested working proxies
- Press Ctrl+C in Terminal window
# Find process ID
ps aux | grep proxy_manager.py
# Kill process
kill <process_id>
- Always activate virtual environment before running the program on VPS
- Timeout and worker numbers can be adjusted in the code as needed
- Proxy speeds may vary depending on various factors