Filed a new #GNOME app idea in case anyone is interested: an ecommerce platforms product prices monitoring tool, so you can get better deals if you are patient enough (Steven He or eBay snipers will find this tactic somewhat familiar) 

https://gitlab.gnome.org/bertob/app-ideas/-/issues/291

#eCommerce #bargainhunting #AsianDad

Price watcher / bargains deals monitoring app (#291) · Issues · Tobias Bernard / App Ideas · GitLab

Dynamic pricing is a pain in the arse, and is seen more and more in ecommerce websites too. Sometimes you know...

GitLab

@nekohayo sounds like a nightmare to build as an app. It would require Playwright or Puppeteer to scrape at least some of the websites, which is already a problem given that GNOME apps use GJS which isn't Node-compatible. But then, the websites might change as well, so you need to constantly update all of these scripts in time. Plus, you'd need to write a separate script for basically each website in existence.

Given the scale of this work, it isn't sustainable for a GNOME-specific free app.

@mks_h Was suspecting something more like a DOM parser, or have you heard of the convenient Python library, ScraPy?

@nekohayo parsing DOM assumes you have a DOM to parse, which isn't always the case with React & co. websites that use JavaScript to construct actual DOM.

I mean, sometimes you could just scrape APIs, or find other ways to do it without running websites' JavaScript, but it's still a lot of work for an app that's only gonna run on GNOME desktop. If I'd do anything like that, it would be a server application to selfhost, with a webui and everything.