Method: PHPCrawler::setCrawlingDepthLimit()



Sets the maximum crawling depth
Signature:

public setCrawlingDepthLimit($depth)

Parameters:

$depth int The maximum link-depth the crawler should follow

Returns:

No information

Description:

Defines how "deep" the crawler should follow links relating to the entry-URL of a crawling-process.

For instance: If the maximum depth is set to 1, the crawler only will follow links found in the entry-page
of the crawling-process, but won't follow any further links found in underlying documents.