Tool for finding and validating proxies that can successfully browse Amazon product pages and display prices. This is based off of Proxy-Master, an amazing github repo that grabs Proxies and checks them, but the timeout on that is much quicker. I have a much slower timeout, but every single proxy that fails, is permanently added to a blacklist and is never checked again. This is a trade off I'm willing to make.
I made this project, as a way to find out if there were enough proxies out there to continually price check Amazon for price errors. The short answer is no. As far as I can tell Amazon has also blocked IP's coming from their AWS API gateway, so continually hammering Amazon to get their prices might be impossible (API gateway IP blocked and not enough free proxies out there and paid IP's not cheap enough). What's the next steps? IDK, but I think this is at a good place now.
- Tests proxies against real Amazon product URLs
- Verifies price visibility (not just connectivity)
- Uses anti-bot measures to avoid detection
- Maintains proxy blacklist to avoid retesting bad proxies
- Multi-threaded design for fast concurrent testing
# Clone the repository
git clone https://github.com/yourusername/amazon-proxy-test.git
cd amazon-proxy-test
# Install dependencies
pip install -r requirements.txtpython amazon_proxy_test.py [workers]workers: Number of concurrent threads (default: 32)- You'll be prompted to specify proxy types to check (http, socks4, socks5)
- Downloads proxy lists from public sources
- Tests each proxy against Amazon product pages
- Verifies that prices are visible (passes bot protection)
- Saves working proxies to separate files by type
amazon_proxy_test.py: Main script for testing proxiesamazon_price_checker.py: Validates if prices are visible on Amazonanti_bot_utils.py: Utilities to avoid detection as a bot
- Python 3.6+
- requests
- beautifulsoup4
- PySocks (for SOCKS proxy support)
# Run with 64 worker threads
python amazon_proxy_test.py 64
# When prompted, you can specify proxy types
# Enter: http,socks4,socks5Working proxies will be saved to proxies/passing_proxies/ directory.
Last test run: 2025-06-26 15:26:36
- Total proxies checked: 40
- Working proxies: 0 (0.0%)
- Failed proxies: 40 (100.0%)
| Protocol | Checked | Working | Failed | Success % |
|---|---|---|---|---|
| http | 15 | 0 | 15 | 0.0% |
| socks5 | 25 | 0 | 25 | 0.0% |
- ConnectionError: 62.5%
- ProxyError: 35.0%
- SSLError: 2.5%