As i was scraping one site and i was able to make it to 4000 out of 10000 contents it would stop and say
PHP Warning: file_get_contents(): Filename cannot be empty in
/Users…simple_html_dom.php on line 70 PHP Fatal error: Call to a
member function find() on a non-object
in line 70 of simple_html_dom.php
$contents = file_get_contents($url, $use_include_path, $context, $offset);
I would like to know how to bypass the empty filename and move on to continue to complete the process?
1 Answer