From 9ce30d6a78e1d94586825e9e547d5cebfd6ce573 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Wed, 28 Aug 2019 17:31:53 +0200 Subject: [PATCH] updated to v2 of wttr.in --- fishfunctions/we.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fishfunctions/we.fish b/fishfunctions/we.fish index aa22b63..db24cf4 100644 --- a/fishfunctions/we.fish +++ b/fishfunctions/we.fish @@ -1,7 +1,7 @@ function we -d "Get weather at location" if count $argv > /dev/null - curl http://wttr.in/~$argv[1] + curl http://v2.wttr.in/~$argv[1] else - curl http://wttr.in/Aubervilliers + curl http://v2.wttr.in/Aubervilliers end end