How to avoid circular bot traps in phpcrawl?

How can I avoid being trapped in circular link traps when using PHP traversal?

+7
php web-crawler
source share
1 answer

If you store the URL that you visited in some array, you can check to see if the URL has already been visited, and if so, do not click it again.

+2
source share

All Articles