calgo-lab / green-db

The monorepo that powers the GreenDB.
https://calgo-lab.github.io/green-db/
22 stars 2 forks source link

Update otto sustainability extraction according to new html. #138

Closed BigDatalex closed 1 year ago

BigDatalex commented 1 year ago

For some products on otto the HTML has changed and we cannot extract the sustainability information. This PR adds the new figure class from which we can extract the desired content. The old class is still neccessary, as some products still use the old html (and classes).

itrajanovska commented 1 year ago

I'm not sure if this is also related, but last week I noticed that otto maybe have some a/b testing with the sustainability information. It showed it 2/3 times in different sessions. Based on your code it doesn't seem as it might be related, but it's something we should have our mind on