init
init($in_file,$proxy_file="",$process_js=true); - initialize the url collector
The function accepts parameters as input:
$in_file – path to the file with URLs that need to be collected$proxy_file – path to the file with proxies that are used for collecting$proceed_js – whether to process JS when collecting
After testing, the function returns the result of its work to the script :
true – successfully initialized
false – failed to initialize