crwlrsoft / crawler

Library for Rapid (Web) Crawler and Scraper Development
https://www.crwlr.software/packages/crawler
MIT License
325 stars 11 forks source link

New method HttpLoader::cacheOnlyWhereUrl() #101

Closed otsch closed 1 year ago

otsch commented 1 year ago

The method takes an instance of the FilterInterface as argument, so users can control which responses will be cached (filtering by the response URLs).

Besides that also upgrade PHP CS Fixer rules to PER and add no_unused_imports rule. And change to running cs-fix instead of cs in the git pre-commit hook.