Method: PHPCrawler::setContentSizeLimit()



Sets the content-size-limit for content the crawler should receive from documents.
Signature:

public setContentSizeLimit($bytes)

Parameters:

$bytes int The limit in bytes.

Returns:

bool 

Description:

If the crawler is receiving the content of a page or file and the contentsize-limit is reached, the crawler stops receiving content
from this page or file.

Please note that the crawler can only find links in the received portion of a document.

The default-value is 0 (no limit).