Skip to main content

Gets proxies from public lists and checks them (ping, hidden IP, http connection)

Project description

DON'T USE THESE PROXIES FOR SENSITIVE DATA!

Tested on Windows 10 / Python 3.9

 from freeproxydownloader import get_proxies

 get_proxies()

:param list_with_txt_file_links:

        Example

            ["https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/socks5.txt",

            "https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/socks4.txt",

            "https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/http.txt",

            "https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list-raw.txt",

            "c:\\proxylist.txt"]

        (default=None) #Will choose randomly from list_with_txt_file_proxies

:param list_with_json_file_links:

        Example

            ["https://raw.githubusercontent.com/fate0/proxylist/master/proxy.list",

            "https://raw.githubusercontent.com/hookzof/socks5_list/master/tg/mtproto.json",

            "https://raw.githubusercontent.com/hookzof/socks5_list/master/tg/socks.json",]

        (default=None) #Will choose randomly from list_with_json_file_proxies



:param save_path_proxies_all_filtered:

        Folder for output

        (default=None) #Will create a folder in the root of your env, called "freeproxydownloader_results"



:param http_check_timeout:

        Timeout for http check with requests

        (default=10)



:param threads_httpcheck:

        How many threads when doing the http check with requests

        (default=20)



:param threads_ping:

        How many threads when doing the ping check

        (default=10)



:param silent:

        verbose or not

        (default=False)



:param max_proxies_to_check:

        stop checking after n checked proxies in total! (Not positive results!!)

        (default=False)



:return: filtered_proxies_xlsx, filtered_proxies_pkl #can be opened com pandas

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freeproxydownloader-0.11.tar.gz (14.2 kB view hashes)

Uploaded Source

Built Distribution

freeproxydownloader-0.11-py3-none-any.whl (18.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page