roach-php/core

When two crawlers need to share the same login operation

Opened this issue · 1 comments

There are two separate crawlers that need to share the same login operation. Should this login step be made into a middleware or a processor? It is now a php trait.

Or make an Extensions

Looks like the answer is already there.

Want to add custom HTTP headers to every outgoing request based on some condition? Sure thing, sounds like a job for a downloader middleware.

https://roach-php.dev/docs/introduction#built-with-extensibility-in-mind