vifreefly / kimuraframework

Kimurai is a modern web scraping framework written in Ruby which works out of box with Headless Chromium/Firefox, PhantomJS, or simple HTTP requests and allows to scrape and interact with JavaScript rendered websites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using the last argument as keyword parameters is deprecated : using ruby 3.0.0

graial opened this issue · comments

I've recorded the fix/patch in this issue:

vifreefly/rbcat#1

Did it this way, cuz I'm not sure how to submit a pull request

There is a way to fix this bug and it is to not use the colorized logger, simply adding this config into a Kimurai initializer should be enough:

Kimurai.configure do |config|
  config.colorize_logger = false
end

Reference link

commented
Kimurai.configure do |config|
  config.colorize_logger = false
end

@estebansa19 Thank you for this!