You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for creating the php-spider script (almost) everything I need for my project is in it.
Is it possible to get the source of the spider where the relevant URLs were found?
For example, if I now index 500 URLs and some of these URLs give an incorrect return code (404 ,403 or 500) then it is currently difficult to find out where this incorrect URL was noticed.
Thank you
Constan
The text was updated successfully, but these errors were encountered:
See example_complex.php. It adds the statshandler to the downloader and at the end interates over all failures. This should show you all failed URLs with their reason.
First register the StatsHandler to collect download stats. Note that you could easily create a similar handler, that listens to these events and acts on them however you want. You could store errors in a db for instance.
First of all, thanks for creating the php-spider script (almost) everything I need for my project is in it.
Is it possible to get the source of the spider where the relevant URLs were found?
For example, if I now index 500 URLs and some of these URLs give an incorrect return code (404 ,403 or 500) then it is currently difficult to find out where this incorrect URL was noticed.
Thank you
Constan
The text was updated successfully, but these errors were encountered: