spatie / crawler

An easy to use, powerful crawler implemented in PHP. Can execute Javascript.

Home Page:https://freek.dev/308-building-a-crawler-in-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undefined method setCurrentCrawlLimit

QuantBits opened this issue · comments

Call to undefined method Spatie\Crawler\Crawler::setCurrentCrawlLimit()

 at app/Console/Commands/crawlLinks.php:48
    44▕     {
    45▕         $queue = new ArrayCrawlQueue();
    46▕ 
    47▕         Crawler::create()
 ➜  48▕             ->setCurrentCrawlLimit(5)
    49▕             ->setCrawlObserver(new urlFinder())

Not sure what's happening here, been following the examples. Any advice?