From e17745805618d64026f254bbf9657e0e0a2b095e Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 5 Feb 2021 14:02:11 +0000 Subject: Update default met office location to match the bbc one --- weather.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/weather.go b/weather.go index b0d344f..ae0e90d 100644 --- a/weather.go +++ b/weather.go @@ -1,6 +1,5 @@ package main -// BUG: need to allow choice of met-office source (-b 0 doesn't work how i thought it would) // TODO: allow free-text lookups of place names, rather than ids // TODO: convert metoffice windspeed to mph // TODO: split output into days @@ -16,7 +15,7 @@ import ( "net/http" ) -const metdefid = "310118" +const metdefid = "310004" const bbcdefid = "2654675" const meturl = "https://www.metoffice.gov.uk/public/data/PWSCache/BestForecast/Forecast/%s.json?concise=true" -- cgit v1.2.3