Fix URL crawling after change file_get_contents to cURL