m-rtijn / argostime

Keep an eye on prices
https://argostime.mrtijn.nl/
GNU Affero General Public License v3.0
8 stars 3 forks source link

Bug for next weeks bonus in AH scraper #17

Open tweska opened 2 years ago

tweska commented 2 years ago

There is a bug in the AH scraper.

When a product is marked as being on discount next week, it is not parsed correctly.

Examples:

m-rtijn commented 2 years ago

Yeah this is a known issue. When products will be discounted in the following week, there is no guarantee that there will be a currently valid price listed.

An example here is the broccoli next week: 2022-02-27-174410_1252x558_scrot Although there is a normal per kg price listed, the price that normally is scraped is the per 500g price. This also happened with other products when I was initially writing the scraper, for example crates of beer. This week I can't find a lot examples, so maybe they've fixed it, but I'm not sure.