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

Add the ability to change the default baseUrl scheme #402

Closed arnissolle closed 2 years ago

arnissolle commented 2 years ago

By default, the crawler will set the base url scheme to http if none. You have the ability to change that with setDefaultScheme.

freekmurze commented 2 years ago

Thank you!