Reduce function parameters by adding a new process to collect the extracted urls.