TychoTheTaco / Prime-Loot-Claimer

A Node.js bot for automatically claiming Amazon Prime loot.
2 stars 0 forks source link

Config file format? #1

Closed klept0 closed 2 years ago

klept0 commented 2 years ago

Is there a specific config file setup we should use when trying to run this?

TychoTheTaco commented 2 years ago

No config file is required, but if you want you can specify these options in a config.json file:

{
  "headful": true,
  "browser_args": ["--mute-audio"]
}

BTW, I'm not sure this code still works since I haven't used it in a while.

klept0 commented 2 years ago

That bit fixes it so I can launch but it does throw an error so you know

TimeoutError: Timeout exceeded while waiting for event at Timeout. (C:\Prime-Loot-Claimer-master\node_modules\puppeteer\lib\cjs\puppeteer\common\helper.js:122:28) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)

Unless you plan on updating this for yourself I will close this out and I appreciate the reply