proxyswitcher
Object for searching the list of proxies and installing proxies in various modes
Initialization and execution
Update
Getting information
Initialization and execution
init – initialize the proxy switch
clear – clear the proxy switch
add_proxies – add proxy from the string
add_proxies_from_file – add proxy from file
add_proxies_from_url – add proxy from url
set_random_rotate_mode – set random proxy switching mode
Update management
update – force updating the proxy list
set_update_path – set the path to the file from which the proxy will be updated
set_update_url – set the url from which the proxy will be updated
set_update_period – set the proxy update period
set_update_proxy_count – set the minimum number of proxies to start updating
Getting information
get_next_proxy – get the following proxy
get_all_proxies – get all proxies
get_proxy_count – get the current proxy number
Available from version 7.0.4