Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Costco scraper #6

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Costco scraper #6

wants to merge 14 commits into from

Conversation

ericherscovich
Copy link
Contributor

No description provided.

@ericherscovich ericherscovich marked this pull request as ready for review January 5, 2022 20:21
@ericherscovich ericherscovich requested a review from pleckey January 5, 2022 20:21
'url': pharmacy.booking_url
})

await vhc.notify_discord('Walmart Pharmacies', notifications, os.environ.get('DISCORD_PHARMACY_ON'))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be Costco rather than Walmart

# bookingMode = 6 - Hidden from user-facing site
# mainPageMode = 0 - Accepting Bookable Appointments
# mainPageMode = 2 - Accepting Waitlist Signups
if (service['bookingMode'] == 0 and service['mainPageMode'] == 0 and "covid" in service['name'].lower() and "vaccin" in service['name'].lower()):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this meant to be "vaccine" not "vaccin"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vaccin to catch "Vaccine" and "Vaccination"

vhc = VHC(
base_url=os.environ.get('BASE_URL'),
api_key=os.environ.get('API_KEY'),
org_id=os.environ.get('VHC_ORG_WALMART'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be VHC_ORG_COSTCO

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

Successfully merging this pull request may close these issues.

2 participants