spatie / crawler

An easy to use, powerful crawler implemented in PHP. Can execute Javascript.
https://freek.dev/308-building-a-crawler-in-php
MIT License
2.53k stars 358 forks source link

Getting error in setCrawlObserver(<class that extends \Spatie\Crawler\CrawlObserver>) #301

Closed Saketsuraj closed 4 years ago

Saketsuraj commented 4 years ago

What should I write in setCrawlObserver? Please give example.

freekmurze commented 4 years ago

https://github.com/spatie/mixed-content-scanner/blob/master/src/MixedContentObserver.php