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

Check if rel attribute contains nofollow #445

Closed robbinbenard closed 1 year ago

robbinbenard commented 1 year ago

This PR checks if 'nofollow' is present in the rel attribute.

Multiple values are allowed inside for example:

<a href="#" ref="nofollow noopener noreferrer">

freekmurze commented 1 year ago

Thank you!