Свойство | Тип | Описание | |
---|---|---|---|
$urlsGroupedByStatusCode | array |
Метод | Описание | |
---|---|---|
hasBeenCrawled ( |
Called when the crawler has crawled the given url. | |
hasBeenCrawled ( |
Called when the crawler has crawled the given url. | |
willCrawl ( |
Called when the crawler will crawl the url. |
Метод | Описание | |
---|---|---|
crawledBadUrls ( ) : boolean | Determine if the crawler saw some bad urls. | |
isSuccessOrRedirect ( integer $statusCode ) : boolean | Determine if the statuscode concerns a successful or redirect response. |
protected crawledBadUrls ( ) : boolean | ||
Результат | boolean |
public hasBeenCrawled ( |
||
$url | ||
$response | Psr\Http\Message\ResponseInterface | null | |
Результат | string |
public hasBeenCrawled ( |
||
$url | ||
$response | Psr\Http\Message\ResponseInterface | null | |
$foundOnUrl | ||
Результат | string |
protected isSuccessOrRedirect ( integer $statusCode ) : boolean | ||
$statusCode | integer | |
Результат | boolean |
public willCrawl ( |
||
$url |
protected array $urlsGroupedByStatusCode | ||
Результат | array |