Closed harcod closed 3 years ago
There is currently no location with real availability so I'm assuming that danger-alert doesn't actually appear on good pages.
I'd keep it simple for a first pass and just look for this danger-alert. If there is a wait-list, then at least the person has something actionable to do.
@harcod The code looks good. Lmk if there's anything you want me to test out on my end (currently there aren't slots with "broken links").
@tkjones117 Usually all of the slots are "danger-alert" links. I did see a location with real available slots a few minutes ago and ran the scraper. It correctly inserted the signUpLink into the json!
MAImmunizations.org frequently reports available slots on the "search page" only to show no availability after clicking the signup link.
By checking the contents of the signUpLink itself, we can see if the user can actually book a slot.