Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Add Hannaford #131

Open
titanous opened this issue Apr 6, 2021 · 1 comment
Open

Add Hannaford #131

titanous opened this issue Apr 6, 2021 · 1 comment

Comments

@titanous
Copy link

titanous commented Apr 6, 2021

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
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants