http_request_randomizer.requests.parsers package

Submodules

http_request_randomizer.requests.parsers.FreeProxyParser module

class http_request_randomizer.requests.parsers.FreeProxyParser.FreeProxyParser(web_url)[source]

Bases: http_request_randomizer.requests.parsers.UrlParser.UrlParser

parse_proxyList()[source]

http_request_randomizer.requests.parsers.ProxyForEuParser module

class http_request_randomizer.requests.parsers.ProxyForEuParser.ProxyForEuParser(web_url, bandwithdh=None)[source]

Bases: http_request_randomizer.requests.parsers.UrlParser.UrlParser

parse_proxyList()[source]

http_request_randomizer.requests.parsers.RebroWeeblyParser module

class http_request_randomizer.requests.parsers.RebroWeeblyParser.RebroWeeblyParser(web_url)[source]

Bases: http_request_randomizer.requests.parsers.UrlParser.UrlParser

parse_proxyList(use_top15k=False)[source]

http_request_randomizer.requests.parsers.SamairProxyParser module

class http_request_randomizer.requests.parsers.SamairProxyParser.SamairProxyParser(web_url)[source]

Bases: http_request_randomizer.requests.parsers.UrlParser.UrlParser

parse_proxyList()[source]

http_request_randomizer.requests.parsers.UrlParser module

class http_request_randomizer.requests.parsers.UrlParser.UrlParser(web_url, bandwidthKBs=None)[source]

Bases: object

An abstract class representing any URL containing Proxy information To add an extra Proxy URL just implement this class and provide a ‘url specific’ parse_proxyList method
Attributes:
site url (hhtp) minimum_bandwidth_in_KBs (to avoid straggling proxies when having the extra info from proxy provider)
get_URl()[source]
get_min_bandwidth()[source]
parse_proxyList()[source]
static valid_ip(address)[source]

Return True if the the given IP is a valid IPv4 address

Parameters:address (string) – ip address
Return type:bool
static valid_ip_port(address)[source]

Return True if the the given Port is a valid IPv4 port

Parameters:address (string) – ip address
Return type:bool

Module contents