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.51k stars 357 forks source link

Replace stream_for with Utils::streamFor #391

Closed NicolasMica closed 2 years ago

NicolasMica commented 2 years ago

Hi 👋 I just encountered the same error as #379 so I figured I would submit a PR to fix it as it was quite simple. This supports the GuzzleHttp function API upgrade to 2.0.

freekmurze commented 2 years ago

Thank you!