umpirsky / centipede

:sparkler: The Simplest automated testing tool on Earth.
MIT License
141 stars 15 forks source link

Hookable/eventable crawler behavior #6

Open kix opened 9 years ago

kix commented 9 years ago

Maybe this should be opened against the crawler component, but this looks like an application-wide feature.

We could trigger application-wide events during the crawler's lifecycle when a request is initiated, when a URL is discovered, when a response is retrieved, etc. This would allow us to implement:

And I'm sure there's more use cases.

umpirsky commented 9 years ago

Yes, having this in crawler is good idea, Thanks @kix! :+1: