What I’m trying to do
Wttr.in generates a snapshot of the actual weather conditions at the time its run, plus a forecast for the next few days at set times. I specifically want to take the information from the ‘today/Noon’ section for
Things I have tried
My existing code was pulled from another answer on here and works perfectly for the styling of the output I want:
<%* const weather = await requestUrl('https://wttr.in/Manchester?format=%25l:+%25c+%25C+%25t+feels+like+%25f%5CnHumidity:+%25h%5CnSunrise:+%25S%5CnSunset:++%25s%5CnMoon:++++%25m')%>
<%* tR += weather.text %>
But I can’t figure out what I need to change to pull that data from the forecast rather than the current weather
<%* const weathertodaynarrow = await requestUrl('https://wttr.in/Manchester?1nF')%>
<%* tR += weathertodaynarrow.text %>
I’d like to keep the stats which are constant for the day (sunrise, sunset, moon phase shouldnt change in the forecast, but im not sure if they’re included there anyway) but pull the conditions, temperature, humidity, precipitation from the forecast - specifically at Noon.
I’ve read the wttr documentation but having difficulty getting my head around how the initial code was constructed and what can/should be changed, and where.