impftermin icon indicating copy to clipboard operation
impftermin copied to clipboard

Keep searching other locations while in the waiting room

Open carbeer opened this issue 3 years ago • 1 comments

Hi there,

I noticed that the script keeps checking a single location until it is successful. Therefore, the script won't check other locations while it is held in the waiting room. I think it would be great if it would continue to check other locations in parallel, as it can take quite some time to leave the waiting room. I am not an expert on browser automation, but in Selenium, this should be possible by just adding another tab – Maybe this also works for Puppeteer?

In any case, thanks for the great tool! Cheers, Carolin

carbeer avatar May 31 '21 09:05 carbeer

Hi @carbeer, thanks for your suggestion. Indeed it would work like this also in Puppeteer. Maybe a good approach would be to set a number of parallel requests. And open new tabs for new locations.

For the time being you could run two instances from separate folders with different config.json.

marcoklein avatar Jun 02 '21 14:06 marcoklein