GUI / covid-vaccine-spotter

https://www.vaccinespotter.org
MIT License
510 stars 138 forks source link

Add Hannaford #131

Open titanous opened 3 years ago

titanous commented 3 years ago

Hannaford is a grocery chain that is providing vaccinations in five states.

Looks like they have an availability checker that searches a 50 mile radius based on zip code: https://hannafordsched.rxtouch.com/rbssched/program/covid19/Patient/Advisory

https://www.hannaford.com/pharmacy/covid-19-vaccine

MoralCode commented 3 years ago

Was able to reprduce in postman by POSTing to https://hannafordsched.rxtouch.com/rbssched/program/covid19/Patient/CheckZipCode and an x-www-form-urlencoded body of zip=[zip]&appointmentType=5954&PatientInterfaceMode=0 where [zip] is the zip code.

The request only seems to require cookies to get through as they seem to have a timing system where a visitor is only allowed on the page for 10 min or something. not sure if this is just a user facing thing or not but If cookies are saved between requests, I have found that the first postman request (without cookies) returns an HTML page and sets the cookies. Any subsequent requests can use these cookies to get a response.

Responses seem relatively inconsistent compared to JSON, as they seem to just be a raw one-line text response of the form "There are no locations with available appointments within 50 miles of [city], [state postal abbreviation] [zip] ." (quotation marks and extra spaces included)