Proxy Scraper is a Python script designed to fetch and save proxies from multiple sources to a file. It supports fetching proxies from various websites using BeautifulSoup and requests libraries.
When you run Proxy Scraper, it accesses each specified URL containing a list of proxies. It then parses the HTML content of these pages using BeautifulSoup, extracting relevant proxy information such as IP address and port number. The script handles different HTML structures from each website to ensure compatibility and accurate extraction.
-
Fetches proxies from:
-
Saves fetched proxies to proxies.txt.
-
Displays a sample of 5 fetched proxies from each source.
- Python 3.x
- Install Dependencies
pip install requests beautifulsoup4 colorama
python proxy_scraper.py
This script is intended for educational and testing purposes only. Use it responsibly and do not use the proxies obtained for any illegal activities. The creator of this script is not responsible for any misuse or damage caused by the misuse of the fetched proxies.
> Update 1
> Added more visually appealing terminal.