rbignon / doctoshotgun

Script to automatically book a vaccine slot on Doctolib in the next seven days.
GNU General Public License v3.0
549 stars 142 forks source link

When I try to book in Berlin, I always get false or ('422 Client Error: Unprocessable Entity',) when a slot is found #297

Closed jensMF closed 2 years ago

jensMF commented 2 years ago

Hi and thanks for this nice program,

when I try to get a third shot appointment in "Corona Impfzentren - Berlin" I always get false, unavailable slot or ('422 Client Error: Unprocessable Entity',) as result, when a slot is found.

Center Corona Impfzentren - Berlin (Berlin):
– Messe Berlin/ Halle 21...
  Vaccine Auffrischung.*Pfizer|Pfizer.*Auffrischung|Dritt.*Pfizer|Booster.*Pfizer... found!
  ├╴ Best slot found: Sun Jan  2 13:45:00 2022
An unexpected exception of type ClientError occurred. Arguments:
('422 Client Error: Unprocessable Entity',)
Center Corona Impfzentren - Berlin (Berlin):
– Messe Berlin/ Halle 21...
  Vaccine Auffrischung.*Pfizer|Pfizer.*Auffrischung|Dritt.*Pfizer|Booster.*Pfizer... found!
  ├╴ Best slot found: Fri Dec 31 13:00:00 2021
  ├╴ Booking for ...
  └╴ Booking status: False
– Flughafen Berlin-Tegel / Terminal C...
  Vaccine Auffrischung.*Pfizer|Pfizer.*Auffrischung|Dritt.*Pfizer|Booster.*Pfizer... found!
  ├╴ Best slot found: Sun Dec 19 09:00:00 2021
  └╴ Appointment not available anymore :( unavailable_slot

the command I use:

./doctoshotgun.py -3 --start-date 08/12/2021 --end-date 14/12/2022 --center "Corona Impfzentren - Berlin" de Berlin ...
jensMF commented 2 years ago

I have found the problem. Last night a lot of free slots appeared and I could easily book one manually. But the account for witch I tried to get an appointment got the message, that it could not book online at that Doctor, because of too many missed appointments. Screenshot 2021-12-02 at 08-57-13 Doctolib Buchen Sie Ihren Termin online bei einem Arzt oder einer Gesundheitsfachkraft