Hi all! We are proud to announce the newest major release of our self hosted website change detection and notification app, whats new? Browser steps - Interact with the browser (login to sites, accept cookies etc) before change-detection, Dark mode - because you love it Automatically follow LDJSON price data - on websites that support it, More notification hooks - not just messaging (slack/discord/telegram etc) but also post://, get:// and others to make driving other services easier Extract data as CSV for example, watch realestate websites and easily make a CSV of the number of houses for sale, or your favourite whiskey's price! enjoy! and please help spread this app :) https://github.com/dgtlmoon/changedetection.io
https://preview.redd.it/ho3wsk6ocu4a1.png?width=1302&format=png&auto=webp&s=e5522a3f718dc38d7e52421d8605d855cdf50685
One of my fav selfhosted projects. Keep up the great work! Dark theme is very welcome too. :)
Is there a better guide on how to use the JSON price checking? And it only picks up B&H and Best Buy, while ignoring Amazon and Newegg. Is this something that has to be added store-by-store?
Thanks for the kind words! Yeah so, as I wrote, it's following the LD+JSON product information, which amazon does not carry, what is LD+JSON? lets ask google
https://www.google.com/search?q=what+is+ld%2Bjson+used+for
newegg seems to work just fine when tested with this random page https://www.newegg.com/p/3D5-000D-001T1?Description=rtx%204080%20gaming%20pc&cm_re=rtx_4080%20gaming%20pc-_-9SIAHT3JPK5019-_-Product (you need to give it a single product page, not a listing)
Sorry, by guide I meant I am trying to follow the guide in your repo: https://github.com/dgtlmoon/changedetection.io#parse-json-embedded-in-html
Putting in json:$.price does not seem to do anything to pull the price in changedetection.
https://imgur.com/zrPqCBM
CSS/JSONPath/JQ/XPath Filters: json:$.price
I get the whole JSON output. Is this the intended behavior or should it pull only the price (249.99 like in example above)?
I improved the example here https://github.com/dgtlmoon/changedetection.io/commit/6c217cc3b6a172565172ea42b0b7e1e891d29555
Awesome! Thanks for the update.
json:$..price (the double period) made all the difference. Can confirm it works now!
Best Buy and B&H Photo work with this JSON as well. :)
Edit: Any chance of jq being installed automatically in the Docker container? It's pretty light?
I'm assuming you're talking about newegg because you didnt say otherwise
I also read the newegg html and pulled out the ld+json script stuff, and then I used google to find a validator, you can do the same thing too
I pasted the ld+json from newegg into a JSON formatter/JSONpath test selector and I can see that the query should be different, I also found those jsonpath formatters on google
Additionally I can see that the example in our README is slightly different structure in the newegg LD+JSON so it means the query has to be different slightly