Closed juukie closed 7 years ago
Hi,
could you try the dev-master
version and let me know if that fixes this issue for you?
Ah I see it has been fixed but it's unreleased. https://github.com/spatie/laravel-link-checker/commit/2c2969f8cda02715f069836289aa0dd058bbdb8e This will fix indeed! 👍 Thanks
The fix is now tagged. Upgrading to 1.0.3
fixes the problem.
Hey @freekmurze,
Using version 2.0 I crawled a link with an unresponsive host. The
BaseReporter
will assign it the statuscodeHost did not respond
in thehasBeenCrawled
method:This exception will be thrown:
I guess
const UNRESPONSIVE_HOST = 'Host did not respond';
should be changed to a http status code?