This code is created for people who want to use free proxy servers to work with their projects. It aggregates all sources of free proxies and gives the possibility of easy handling.
Great to use with #selenium, #scrapy and #bs4 for web scraping purposes.
Enjoy 👍
- python >= 3.5
- beautifulsoup4
# Clone repo
git clone https://github.com/OceanFireSoftware/python-simple-proxy.git
# Change directory
cd python-simple-proxy
# Create virtual environment
virtualenv venv --python=python3
# Install requirements
pip install -r requirements.txt
from proxymanager import ProxyManager
proxy = ProxyManager()
proxy.print_all()
Output:
125.167.230.150:8080
168.131.152.152:3128
157.230.253.73:44344
200.73.128.244:3128
...