paulmaunders / delivery-slot-bot

A puppeteer based bot to monitor supermarket online delivery slots.
MIT License
54 stars 27 forks source link

How to run the bot multiple times at the same time on the same laptop? #76

Open git-creat opened 4 years ago

git-creat commented 4 years ago

Good afternoon, does anyone have any idea how to run the bot multiple times at the same time on the same laptop?

I'm using Visual Studio Code, I tried opening a new terminals to run in multiple times but it doesn't work, it only allows me to run it ones.

I want to do this because there are 7 Tesco click and collect locations and 1 Asda home deliver location where I live, the bot can only check one click and collect location at a time I think, so I need to make new Tesco accounts and run another copy of the bot to check the other click and collect locations.

Where I live Asda has home delivery and no click and collect, but tesco is the opposite, they have click and collect but no home delivery, in the config.ini file I can only have it on home delivery or click and collect or the ASDA/Tesco websites cause the program to crash with error messages, so I need to be able to run two copies of the bot to check them separately.

obbardc commented 4 years ago

yeah, tesco seems to only show on the page 5 collection locations on the click-collect page. but i think you can change the locationId in the URL to any store ?