rubycdp / vessel

Fast high-level web crawling Ruby framework
https://vessel.rubycdp.com
MIT License
645 stars 11 forks source link

Profile directory #35

Closed IfkumRfnl closed 4 months ago

IfkumRfnl commented 4 months ago

Hello there. How can I set profile directory? I tried

class QuotesToScrapeCom < Vessel::Cargo
  domain "quotes.toscrape.com"
  start_urls "https://quotes.toscrape.com/tag/humor/"
  driver("ferrum", "user-data-dir": "...", "profile-directory": "..." )
  ...

But it didn't work.

IfkumRfnl commented 4 months ago

I've figured it out. It should be inside browser_options