inventory-hunter
inventory-hunter copied to clipboard
Not working with Uk amazon
When using this with uk amazon it says: unable to convert "£140.45" to float... caught exception: could not convert string to float: '£140.45' however it works with US amazin
Can you try manually editing the Dockerfile, changing these three lines:
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
to:
ENV LC_ALL en_GB.UTF-8
ENV LANG en_GB.UTF-8
ENV LANGUAGE en_GB.UTF-8
Works now Thank you <3
One more thing the UK site ebuyer uses add-to-basket instead of add-to-cart so it thinks its out of stock is it possible to add it so it checks for that as well
Just checked in this change: https://github.com/EricJMarti/inventory-hunter/commit/a90683d0a408934af219f0a03d800c79681093c9
Can you pull in the latest code, rebuild the docker image, and try again?
Is it possible to fix Amazon SG as well? It uses S$ which messed up the code
I am also having this issue however, editing the Dockerfile isn't fixing it for me.
Can you try again with the latest image? I recently committed a change that was intended to ignore currency symbols.
@EricJMarti I have pulled down the recent changes and I am getting SCRAPE FAILED
on amazon.co.uk. The Float issue is fixed.
(edit: fixed misleading wording & grammar)