Use static weather data instead of poking wttr.in
[?]
Mar 21, 2023, 1:07 PM
EWJKDT6OW3MG7SHSJAELJPLHCEZKHW44OF42PAMWKWLU6MOY55IQCDependencies
- [2]
VMUKZQZRWork on 02-nix-build
Change contents
- replacement in src/simple.c at line 41
curl_easy_setopt(curl, CURLOPT_URL, "https://wttr.in/Delft");curl_easy_setopt(curl, CURLOPT_URL, "https://gitlab.com/SFrijters/nix-container-demo/-/raw/master/data/weather-static"); - edit in src/simple.c at line 44
// HERE WE PRETEND TO BE CURL, OTHERWISE WE GET HTML - edit in src/simple.c at line 45
curl_easy_setopt(curl, CURLOPT_USERAGENT, "curl");