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

400 Client Error: Bad Request: An unexpected exception of type ClientError occurred. Arguments: #305

Open mazzma12 opened 2 years ago

mazzma12 commented 2 years ago

Bonjour, j'ai systematiquement une erreur 400 sur cette pharmacie, ce qui m'empeche de scroller à fond. J'ai tenté de l'exclure avec la commande ci-dessous mais sans effet

--exclude-center "Center Pharmacie Battino-Borgel - iPharm (Paris)"

Avez-vous une idée? Ci-dessous l'erreur 400

Center Pharmacie Battino-Borgel - iPharm (Paris):
2021-12-06 14:40:34,918:DEBUG:urllib3.connectionpool::connectionpool.py:452:_make_request https://www.doctolib.fr:443 "GET /pharmacie/paris/pharmacie-battino-borgel HTTP/1.1" 200 None
2021-12-06 14:40:34,990:INFO:browser::browsers.py:369:save_response Response saved to cb8cbfa48c254c6f8eb740cb0408ddeb
2021-12-06 14:40:34,991:DEBUG:browser::browsers.py:894:internal_callback Unable to handle https://www.doctolib.fr/pharmacie/paris/pharmacie-battino-borgel
2021-12-06 14:40:35,215:DEBUG:urllib3.connectionpool::connectionpool.py:452:_make_request https://www.doctolib.fr:443 "GET /booking/pharmacie-battino-borgel.json HTTP/1.1" 200 None
2021-12-06 14:40:35,219:INFO:browser::browsers.py:369:save_response Response saved to b860d05e3a1e4ef8aac38047bec0d0e9
2021-12-06 14:40:35,220:DEBUG:browser::browsers.py:880:internal_callback Handle https://www.doctolib.fr/booking/pharmacie-battino-borgel.json with CenterBookingPage
– Pharmacie Battino-Borgel...
  Vaccine Pfizer... 2021-12-06 14:40:35,313:DEBUG:urllib3.connectionpool::connectionpool.py:452:_make_request https://www.doctolib.fr:443 "GET /availabilities.json?start_date=2021-12-06&visi
t_motive_ids=3265049&agenda_ids=506292&insurance_sector=public&practice_ids=198620&destroy_temporary=true&limit=3 HTTP/1.1" 400 None
2021-12-06 14:40:35,317:INFO:browser::browsers.py:369:save_response Response saved to b67f48d1eb9148a1baefda274f039d13
An unexpected exception of type ClientError occurred. Arguments:
('400 Client Error: Bad Request',)