diff options
| author | Nick White <git@njw.name> | 2021-02-05 14:02:11 +0000 |
|---|---|---|
| committer | Nick White <git@njw.name> | 2021-02-05 14:02:11 +0000 |
| commit | e17745805618d64026f254bbf9657e0e0a2b095e (patch) | |
| tree | a38c7d6c84caad8b6cfe18b937e85d3b987f5b5f | |
| parent | 43c0e2ac6fad7779b2560041b60e8ece937360b3 (diff) | |
| download | weather-e17745805618d64026f254bbf9657e0e0a2b095e.tar.bz2 weather-e17745805618d64026f254bbf9657e0e0a2b095e.zip | |
Update default met office location to match the bbc one
| -rw-r--r-- | weather.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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" |
