joshuajung / 116117bot

A proof of concept bot, checking impfterminservice.de for available COVID-19 vaccination appointments.
MIT License
34 stars 16 forks source link

Set the headless mode true per default #5

Closed sanzaru closed 3 years ago

sanzaru commented 3 years ago

This pull request sets the headless mode to TRUE per default. I think it's quite annoying for the user to have the empty browser window open in the background without any use.

I also updated the readme.

For me the question came in mind why use electron and chromium at all as all calls can be satisfied via axios calls?

joshuajung commented 3 years ago

Thank you! Will be merging this in a minute.

Why puppeteer: because the "old" version (via terminservice/suche) requires a full (headless) browser with cookie/localStorage handling. You are right that the "new" path (via impftermine/service) would not need it.