hearchco icon indicating copy to clipboard operation
hearchco copied to clipboard

fix(options)!: default values and validations from the get go

Open aleksasiriski opened this issue 1 year ago • 0 comments

  • [x] Both CLI and HTTP mode have all the options set with defaults and are validated (so no need to check again in colly prepare), and now options aren't being changed (so no need to pass as pointer)
  • [x] BREAKING: Removed some options
    • JustFirstPage (wasn't being used anywhere)
    • Mobile (only Qwant supported it and could compromise privacy if it's not the same for all users)
    • User Agent (if users set a wrong one a server could easily get it's IP banned, also it compromises users privacy if it differs from other users)

aleksasiriski avatar May 28 '24 17:05 aleksasiriski