Skip to content

Skylier07/proxy-grabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation


Proxy Grabber

GitHub last commit (branch) GitHub License

Proxy Grabber is a simple Python script utilizing web scraping on Free Proxy List to return a free proxy IP

Installation

git clone git@github.com:Skylier07/proxy-grabber.git

Requirements & Dependencies

Python 3.6 or above

Install requests

pip install requests

BeautifulSoup

pip install beautifulsoup4

Lxml phraser

pip install lxml

Usage

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

Disclaimer

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

License

MIT

About

Grabbing available proxies closest to your region from https://free-proxy-list.net/

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages