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

£ causing float issues #110

Closed
Kieranwest opened this issue Dec 14, 2020 · 1 comment
Closed

£ causing float issues #110

Kieranwest opened this issue Dec 14, 2020 · 1 comment

Comments

@Kieranwest
Copy link

Hey, awesome scraper tool you got here just trying to work through a couple issues involving UK sites.

Amazon scraper half works but reports a float error due to the currency. I've tried to fix this myself by using getText() and stripping the first character from the string returning only the value, I.E from £17.99 to 17.99. Using the logger I'm able to see a clean output but the script still seems to think the Item is out of stock. Add to cart is finding the correct tag too.

Not sure if you can point me in the general direction of your work flow. Finding it hard to follow.

image

@Kieranwest
Copy link
Author

Turns out Amazon UK uses Add to Basket instead of Add to cart hence the requirements was not met for the scalper.

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