More than one price found in a single page product
Closed this issue · 1 comments
Discussed in #2636
Originally posted by fetuffani September 16, 2024
Describe the bug
I've reached to a problem where if the price is reported many times in the single product page with different formats the plugin thinks it is two different prices
changedetectionio.processors.restock_diff.processor:get_itemprop_availability:71 - More than one price found {'2879.2', '2879.20'}, throwing exception, cant use this plugin.
My bet is that the price is both shown in the tag and java script JSON as follows:
<meta itemprop="price" content="2879.20">
<script type="application/ld+json">{.......,"offers":{"price":2879.2,......</script>
But I haven't done any debbugging.
Version
v0.46.04
To Reproduce
Steps to reproduce the behavior:
- Register this URL as price change detection: https://changedetection.io/share/MwXkGX_XPk0a
- The price detector will show an error
Expected behavior
Get the single product price correctly independent of how it is presented on the webpage
Additional context
Change Detection is running from a docker image (lscr.io/linuxserver/changedetection.io:latest)
hmm they have some weird broken metadata
2922.80
2922.8
something like this