Getting Started
Basic Concepts
Advanced Usage
Framework Integration
Releases
core@1.0.0
Released on April 19, 2022
Note: The 1.0.0 release contains some breaking changes. Please read the upgrade guide on how to upgrade your application to this version.
-
Added
Roach::collectSpidermethod to start a spider run and return all scraped items. -
Added
array $contextparameter toRoach::startSpiderandRoach::collectSpiderto pass arbitrary context data to a spider when starting a run. -
Added
roach run <spider>command to start a spider through the CLI. -
Added
Roach::fake()method to test that a run for a given spider was started -
Requests dropped by downloader middleware are no longer affected by
requestDelay(fixes #27) -
Renamed REPL command from
roach:shelltoshell. Use./roach shell <url>to invoke it. -
Move
spatie/browsershotfrom arequiretosuggestas it's only necessary if theExecuteJavascriptMiddlewareis used. Removeext-exifas a dependency for the same reason. -
Removed default command from CLI. To start the REPL, you now need to explicitly invoke the
roach shell <url>command, instead.