Paul Maunders
Paul Maunders
I think the `const browser = await puppeteer.launch({ executablePath: 'chromium-browser' });` code may be to replace the existing `const browser =` statement on line 14.
OK I've set it up on my own Raspberry Pi so I can test it properly and I managed to get it working. You need to make the following changes:...
@andytson would you mind tidying up the patch I provided as a config var?
It was broken for me briefly yesterday on one device, but not another. It's currently working: I'm not sure why we are seeing these intermittent errors...
I made a start on Morrisons but got a bit stuck - so I'm hoping @andytson can take a look when he gets a mo!
It's stopped working for me as well... ``` $ node ./src/index.js cron 1589544360296 - Tesco - Fri, 15 May 2020 12:06:00 GMT Logging in with new user session unexpected error:...
I get a similar but slightly different error when running on my MacBook: ``` unexpected error: TimeoutError: Navigation timeout of 30000 ms exceeded at /Users/paulmaunders/Documents/Code/delivery-slot-bot/node_modules/puppeteer/lib/LifecycleWatcher.js:101:25 at async FrameManager.navigateFrame (/Users/paulmaunders/Documents/Code/delivery-slot-bot/node_modules/puppeteer/lib/FrameManager.js:92:21) at...
I think maybe something odd is going on with the config parsing. In my config I had this Useragent set: ``` useragent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4)...
Changing the user agent worked for me but my server is not on GCP or AWS. As @jpf198 suggests they may have blocked the large cloud platforms... @saqmaster have you...
I think I spoke to soon, I just check the script on my server and it's getting errors ``` Access Denied Access Denied You don't have permission to access "http://groceries.tesco.com/groceries/en-GB/slots/delivery"...