Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Latest commit

 

History

History
36 lines (24 loc) · 707 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 707 Bytes

Esselunga a casa - Puppeteer bot

Getting Started

.env file

Create a .env file with your Esselunga user name (for example, [email protected]) and password (for example, your-secret-password):

[email protected]
ESSELUNGA_PASSWORD=your-secret-password

Running

node index.js

Linux or WSL on Windows

Running periodically:

./run.sh

TODO

  • Properly test if slot reservation actually works
  • Properly test if order checkout actually works
  • Run as a daemon without a shell script
  • Write logs to a file, not on standard output
  • Pretty-print logs using pino-pretty -t