프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |