Unfortunately what you see in your web browser is not what the scrape integration sees. The raw HTML looks very different and essentially is just a SCRIPT tag with a huge JSON payload.
You can extract that JSON, but unfortunately it appears as if the payload is returned as an object, not a string, so I used the regex_replace filter to force this into a string. I’m not sure if that value you are looking for is directly available in the JSON payload, but as an example the following configuration just extracts the first attribute:
And this JSON does appear to contain some kind of end-of-the-month price prediction? The JSON payload is an array and its first entry is for November and it does indeed contain lastPrice : 109.5.
Maybe that helps, but I have no idea how those URL parameters work (like productId or hubId), and of they change or not.
That right, that’s the value/price where I’m looking for. By the way, I only want this once an hour (3600 seconds)
The future price NOV22 will end at October 31 and then it will start with DEC22 contract. I found also the JSON payload you found but it didn’t work out for me for some reason.
Hi all,
would appreciate if someone could help on this.
the scape integration has changed and now has UI along with a yaml but I can not configure it with the link posted above