Proxy Grabber is a simple Python script utilizing web scraping on Free Proxy List to return a free proxy IP
git clone git@github.com:Skylier07/proxy-grabber.git
Python 3.6 or above
Install requests
pip install requests
BeautifulSoup
pip install beautifulsoup4
Lxml phraser
pip install lxml
def get_proxy(country: str=None, attempts:int=10):
"""
Get Proxy located in the same continent
of your country
Will return Proxy IPs from random
avaliable locations if there's
no avaliable server is avaliable
in the continent, or no 'country'
argument is given
"""
return ip
Do not use these free proxies in production.
Free Proxies are scraped from Free Proxy List
Proxies grabbed might expose users to security risks, use at your own risks