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

fix(newegg): false positives (all stores) #1714

Merged
merged 4 commits into from Jan 17, 2021

Conversation

wofnull
Copy link
Contributor

@wofnull wofnull commented Jan 17, 2021

Description

During test run to lockout for new cards on newegg for another fix i do currently prepare, i found that the newegg site ( US / CA / SG ) does give false positives in streetmerchant, showing in Stock items but are in reality out of stock.

Checking against the config file, there was no out of stock check in place and only an instock check, which seemed to hit nothing when cards are not in stock, but still got triggered. Since all 3 sites use the same layout I added ( and tested ) a proper out of stock check.

Testing

Testing has been done, Items out of stock show now proper out of stock and not the listed price / triggering false positives anymore.

@wofnull wofnull requested a review from jef as a code owner January 17, 2021 08:48
Copy link
Owner

@jef jef left a comment

Choose a reason for hiding this comment

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

Good idea. I think this will help out a lot.

Thank you @wofnull for all the contributions lately! I really appreciate it.

@jef jef merged commit 3f191bb into jef:main Jan 17, 2021
@wofnull wofnull deleted the newegg_outofstock_check branch January 17, 2021 15:23
erwinc1 pushed a commit to erwinc1/streetmerchant that referenced this pull request Mar 31, 2021
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.

None yet

2 participants