A script for scraping and saving proxies using the ProxyScrape API).
python proxy_scraper.py [request] [options]
request: Specify the request type (displayproxies or getproxies)
Options --protocol: Specify the protocol (all, http, socks4, socks5) --timeout: Specify the timeout in milliseconds (default: 10000) --country: Specify the country (e.g., US, FI, DE, ...) --ssl: Specify the SSL option (all, yes, no) --anonymity: Specify the anonymity level (all, anonymous, transparent, elite)
- Clone the repository:
git clone https://github.com/your-username/proxy-scraper.git
- Navigate to the project directory:
cd proxy-scraper
- Install the required dependencies:
pip install -r requirements.txt
Examples
-
Scrape and save proxies with default options: shell
python proxy_scraper.py displayproxies
-
Save and scrape proxies
python proxy_scraper.py displayproxies --protocol http --timeout 10000 --country all --ssl all --anonymity all
License This project is licensed under the MIT License - see the LICENSE file for details.