-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: main
Are you sure you want to change the base?
Conversation
Costco/__init__.py
Outdated
'url': pharmacy.booking_url | ||
}) | ||
|
||
await vhc.notify_discord('Walmart Pharmacies', notifications, os.environ.get('DISCORD_PHARMACY_ON')) |
There was a problem hiding this comment.
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()): |
There was a problem hiding this comment.
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"?
There was a problem hiding this comment.
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"
Costco/__init__.py
Outdated
vhc = VHC( | ||
base_url=os.environ.get('BASE_URL'), | ||
api_key=os.environ.get('API_KEY'), | ||
org_id=os.environ.get('VHC_ORG_WALMART'), |
There was a problem hiding this comment.
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
No description provided.