Hi,
I want to scrape the temperature und airpressure for my hometown from a website.
With the developer tools of safari and chrome I’ve found out, the data is generated with JavaScript.
So I think I have to use rest than scrape or multiscrape.
But I don’t see wich attributes I have to use. In Network traffic, provided from safari developer tools, I don’t know where to look for. I don’t know much about JavaScript.
The data is given from: https://www.hessenschau.de/wetter/messwerte/luftqualitaet-kassel-mitte-100.html
And this news website get its data from: https://www.hlnug.de/messwerte/datenportal
I had a quick look but I highly doubt that ‘Hessenschau’ manages this data themselves, why would they as TV/radio station. So I would suggest to find the true source first.
Wrt to rest, the link/data presented does not allow to do anything useful except for (possibly?) scrape
What are you after, aren’t there other sources?
I myself am tracking forecast / actuals in my (french) region now, turns out that for me, openweather is more precise than the local meteofrance…but this HIGHLY depends on the location
EDIT: missed the 2nd link…do you have anything more precise wrt to a API, json or whatever you want to get to?
Thanks for the answer’s!
The data provided from openweather map differs from hglnug, maybe its forecast data and not measured. hlnug.de is a public country website, with its own measure stations.
I thought there a less options for scraping data from hessenschau, because hglnug got a map with much more javascript attributes.
Im looking for atmospheric pressure, humidity and outside temp.
Is there an other way scrape the data?
I don’t know how to interpret the data from the chrome or safari developer tools.