You are not logged in.
@johnraff
Yes, I agree.
As already said:
Now we know what we need.
Expert in wget commands.
https://forums.bunsenlabs.org/viewtopic … 16#p150516
Although most have switched to the MyForecast script, I haven't given up yet.
I just tried the command which works here, only the user agent is moved to the headers.
Paris, France:
$ wget --ignore-length --force-html --header="Referer: https://www.timeanddate.com/weather/" --header="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" "https://www.timeanddate.com/weather/france/paris"
--2026-05-06 14:23:07-- https://www.timeanddate.com/weather/france/paris
Resolving www.timeanddate.com (www.timeanddate.com)... 104.18.21.57, 104.18.20.57
Connecting to www.timeanddate.com (www.timeanddate.com)|104.18.21.57|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: ignored [text/html]
Saving to: ‘paris’
paris [ <=> ] 44.74K --.-KB/s in 0.1s
2026-05-06 14:23:07 (313 KB/s) - ‘paris’ saved [45814]I got the paris file in HOME.
I opened it with a text editor and all the necessary data is there.
Try it guys.
If it works, we can easily modify the TAD script.
Last edited by marens (Yesterday 16:23:40)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello
wget --ignore-length --force-html --header="Referer: https://www.timeanddate.com/weather/" --header="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" "https://www.timeanddate.com/weather/france/paris"
--2026-05-06 15:10:04-- https://www.timeanddate.com/weather/france/paris
Résolution de www.timeanddate.com (www.timeanddate.com)… 104.18.20.57, 104.18.21.57
Connexion à www.timeanddate.com (www.timeanddate.com)|104.18.20.57|:443… connecté.
requête HTTP transmise, en attente de la réponse… 403 Forbidden
2026-05-06 15:10:04 erreur 403 : Forbidden.I think that, despite all your efforts, it’s definitely dead for me.
@+
Last edited by loutch (Yesterday 13:12:33)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
^ This is a list of Request Headers:
{
"requestHeaders": {
"headers": [
{
"name": "Accept",
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.9"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "DNT",
"value": "1"
},
{
"name": "Host",
"value": "www.timeanddate.com"
},
{
"name": "Priority",
"value": "u=0, i"
},
{
"name": "Referer",
"value": "https://www.timeanddate.com/weather/"
},
{
"name": "Sec-Fetch-Dest",
"value": "document"
},
{
"name": "Sec-Fetch-Mode",
"value": "navigate"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Sec-GPC",
"value": "1"
},
{
"name": "TE",
"value": "trailers"
},
{
"name": "Upgrade-Insecure-Requests",
"value": "1"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0"
}
]
}
}Try adding more to the wget command, but in the same form as Referer:
--header="Referer: https://www.timeanddate.com/weather/"Example:
wget --ignore-length --force-html --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header="Accept-Language: en-US,en;q=0.9" --header="Connection: keep-alive" --header="Referer: https://www.timeanddate.com/weather/" --header="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" "https://www.timeanddate.com/weather/france/paris"This also works (for me):
$ wget --ignore-length --force-html --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header="Accept-Language: en-US,en;q=0.9" --header="Connection: keep-alive" --header="Referer: https://www.timeanddate.com/weather/" --header="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" "https://www.timeanddate.com/weather/france/paris"
--2026-05-06 15:31:14-- https://www.timeanddate.com/weather/france/paris
Resolving www.timeanddate.com (www.timeanddate.com)... 104.18.21.57, 104.18.20.57
Connecting to www.timeanddate.com (www.timeanddate.com)|104.18.21.57|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: ignored [text/html]
Saving to: ‘paris’
paris [ <=> ] 44.67K --.-KB/s in 0.09s
2026-05-06 15:31:15 (479 KB/s) - ‘paris’ saved [45740]If people would know how little brain is ruling the world, they would die of fear.
Offline
wget --ignore-length --force-html --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header="Accept-Language: en-US,en;q=0.9" --header="Connection: keep-alive" --header="Referer: https://www.timeanddate.com/weather/" --header="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" "https://www.timeanddate.com/weather/france/paris"
--2026-05-06 16:13:26-- https://www.timeanddate.com/weather/france/paris
Résolution de www.timeanddate.com (www.timeanddate.com)… 104.18.21.57, 104.18.20.57
Connexion à www.timeanddate.com (www.timeanddate.com)|104.18.21.57|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : ignoré [text/html]
Enregistre : ‘paris’
paris [ <=> ] 46,09K --.-KB/s ds 0,02s
2026-05-06 16:13:26 (2,47 MB/s) - ‘paris’ enregistré [47200]Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
This also works (for me) in the terminal:
wget --ignore-length --force-html --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header="Accept-Language: en-US,en;q=0.9" --header="Connection: keep-alive" --header="Sec-GPC: 1" --header="Upgrade-Insecure-Requests: 1" --header="Referer: https://www.timeanddate.com/weather/" --header="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" "https://www.timeanddate.com/weather/france/paris"If people would know how little brain is ruling the world, they would die of fear.
Offline
^^is the crucial point
{ "requestHeaders": { "headers": [ { "name": "Accept", "value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" }, { "name": "Accept-Encoding", "value": "gzip, deflate, br, zstd" }, { "name": "Accept-Language", "value": "en-US,en;q=0.9" }, { "name": "Connection", "value": "keep-alive" }, { "name": "DNT", "value": "1" }, { "name": "Host", "value": "www.timeanddate.com" }, { "name": "Priority", "value": "u=0, i" }, { "name": "Referer", "value": "https://www.timeanddate.com/weather/" }, { "name": "Sec-Fetch-Dest", "value": "document" }, { "name": "Sec-Fetch-Mode", "value": "navigate" }, { "name": "Sec-Fetch-Site", "value": "same-origin" }, { "name": "Sec-GPC", "value": "1" }, { "name": "TE", "value": "trailers" }, { "name": "Upgrade-Insecure-Requests", "value": "1" }, { "name": "User-Agent", "value": "Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" } ] } }
Offline
@loutch
Finally.
Open the tad script with a text editor and replace commands:
For weather_raw:
wget -O "$HOME/time_and_date_conky_script/weather_raw" --ignore-length --force-html --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header="Accept-Language: en-US,en;q=0.9" --header="Connection: keep-alive" --header="Referer: https://www.timeanddate.com/weather/" --header="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" "$address"For date_raw:
wget -O "$HOME/time_and_date_conky_script/date_raw" --ignore-length --force-html --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header="Accept-Language: en-US,en;q=0.9" --header="Connection: keep-alive" --header="Referer: https://www.timeanddate.com/weather/" --header="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0" "$address/ext"If people would know how little brain is ruling the world, they would die of fear.
Offline
re
which means I have to rebuild my entire TAD file from scratch, as I deleted the old one (perhaps a bit too hastily)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
re
which means I have to rebuild my entire TAD folder from scratch, as I deleted the old one (perhaps a bit too hastily)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
The TAD script has been updated:
https://forums.bunsenlabs.org/viewtopic … 76#p147776
If people would know how little brain is ruling the world, they would die of fear.
Offline
It finally works again. Except for the "date" file of course, which is no longer generated and can't be referenced by conkies.
Let's see how the script runs for the rest of the week.
Thanks, marens.
Offline
^ As already said:
Now we know what we need.
Expert in wget commands.
Looks like we have an expert now. ![]()
The title has been changed and the topic has been reopened.
Once the testing is complete, the warning will be removed.
Thanks guys!
If people would know how little brain is ruling the world, they would die of fear.
Offline