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

Get all active coupons for item #4

Open
bsteen opened this issue Sep 15, 2023 · 0 comments
Open

Get all active coupons for item #4

bsteen opened this issue Sep 15, 2023 · 0 comments

Comments

@bsteen
Copy link
Owner

bsteen commented Sep 15, 2023

The script only gets the active coupon that was first uploaded for an item because it just pulling the coupons from https://www.hfqpdb.com/browse. However, items can have multiple active coupons. To see all the active coupons for the item, you have to go the item page. By only looking at the coupons on https://www.hfqpdb.com/browse, false positive are generated if that coupon there does not match the HF coupon, but the HF coupon was already uploaded and is listed as an active coupon on the item page.

Fix this by going through all the items on https://www.hfqpdb.com/browse, "clicking" the item, and pulling all the active coupons from the item page.

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

No branches or pull requests

1 participant