You are not logged in.
Hot air from Africa has been flowing over southern Europe for a long time.
The worst is currently in Spain and France.
AccuWeather developers have added the Heat index.
That's nice, but the curr-cond file no longer works properly:
Open the accuweather script and replace the line:
sed -i -e 's/.*weathericons\///' -e 's/^.*>//g' -e 's/°.*$//g' -e '/RealFeel®/d' -e '/RealFeel Shade™/,+1d' -e '/RealFeel Shade/,+1d' -e '/Indoor Humidity/,+1d' -e '/^$/d' $HOME/Accuweather_conky_script/curr_cond_tempwith:
sed -i -e 's/.*weathericons\///' -e 's/^.*>//g' -e 's/°.*$//g' -e '/RealFeel®/d' -e '/RealFeel Shade™/,+1d' -e '/RealFeel Shade/,+1d' -e '/Indoor Humidity/,+1d' -e '/^$/d' -e '/Heat Index/,+1d' $HOME/Accuweather_conky_script/curr_cond_tempAs you can see from the screenshots, 'beautiful' days with lots of sunshine are expected here. ![]()
Note *
Please don't wait for the Heat Index to appear for your location, but update your accuweather script now.
Last edited by marens (2026-06-26 16:34:49)
If people would know how little brain is ruling the world, they would die of fear.
Offline
This is becoming really frustrating.
It happened again.
This time they changed the Request Headers.
CURRENT FORECAST
Replace:
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0' -H 'access-control-allow-origin: *' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.9' --compressed -H 'Connection: keep-alive' -H 'Sec-GPC: 1' -H 'Upgrade-Insecure-Requests: 1' -H 'Cache-Control: max-age=0' -o $HOME/Accuweather_conky_script/curr_cond_raw "$curr_addr"With:
curl --compressed -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.9' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'DNT: 1' -H 'Sec-GPC: 1' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: same-origin' -H 'Priority: u=0, i' -H 'TE: trailers' -o $HOME/Accuweather_conky_script/curr_cond_raw "$curr_addr"
DAILY FORECAST
Replace:
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0' -H 'access-control-allow-origin: *' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.9' --compressed -H 'Connection: keep-alive' -H 'Sec-GPC: 1' -H 'Upgrade-Insecure-Requests: 1' -H 'Cache-Control: max-age=0' -o $HOME/Accuweather_conky_script/daily_forecast_raw "$daily_addr"With:
curl --compressed -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.9' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'DNT: 1' -H 'Sec-GPC: 1' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: same-origin' -H 'Priority: u=0, i' -H 'TE: trailers' -o $HOME/Accuweather_conky_script/daily_forecast_raw "$daily_addr"HOURLY FORECAST
Replace:
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0' -H 'access-control-allow-origin: *' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.9' --compressed -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Cache-Control: max-age=0' -o $HOME/Accuweather_conky_script/hourly_raw1 "$hourly_addr1"With:
curl --compressed -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.9' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'DNT: 1' -H 'Sec-GPC: 1' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: same-origin' -H 'Priority: u=0, i' -H 'TE: trailers' -o $HOME/Accuweather_conky_script/hourly_raw1 "$hourly_addr1"Replace:
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0' -H 'access-control-allow-origin: *' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.9' --compressed -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Cache-Control: max-age=0' -o $HOME/Accuweather_conky_script/hourly_raw2 "$hourly_addr2"With:
curl --compressed -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.9' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'DNT: 1' -H 'Sec-GPC: 1' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: same-origin' -H 'Priority: u=0, i' -H 'TE: trailers' -o $HOME/Accuweather_conky_script/hourly_raw2 "$hourly_addr2"I don't know who's crazier here.
Either it's the AccuWeather developers or me, because I fixed the script again?
People, it's summer — go somewhere and relax. ![]()
If people would know how little brain is ruling the world, they would die of fear.
Offline
I don't know who's crazier here.
Either it's the AccuWeather developers or me, because I fixed the script again?
Probably you.... but know we love you for it!
Offline
I don't know who's crazier here.
Either it's the AccuWeather developers or me, because I fixed the script again?Probably you.... but know we love you for it!
Thanks!
Offline
Thanks, marens, although I note that the script is also showing the wrong info for other current weather items, eg wind direction icon (I get a weather condition icon), wind speed (I get "max UV" or other UV info), humidity, pressure.
The weather condition/forecast icons/text, temperatures, are working.
No worries if you don't feel like doing more patching though. I was not going to mention anything, except that you just posted some fixes. :-)
Last edited by asqwerth (Yesterday 08:38:00)
Offline
^ I think you missed fixing this:
https://forums.bunsenlabs.org/viewtopic … 73#p151573
If people would know how little brain is ruling the world, they would die of fear.
Offline
^ I think you missed fixing this:
https://forums.bunsenlabs.org/viewtopic … 73#p151573Everything works fine here (for now):
oops, I did indeed miss that.
Thanks.
Offline