From 72c474e97f96f44b125576e02c519834150c140d Mon Sep 17 00:00:00 2001 From: fram3d Date: Mon, 4 Mar 2024 14:44:23 +0100 Subject: [PATCH] add wind speed for !vreme --- scraper_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper_functions.py b/scraper_functions.py index 49c94ca..71da596 100644 --- a/scraper_functions.py +++ b/scraper_functions.py @@ -50,7 +50,7 @@ def getDmzTasks(url): return e def get_weather(city:str) -> str: - url = f"https://wttr.in/{city}?format=3" + url = f"https://wttr.in/{city}?format=4" if not city.replace(" ","").isalpha(): return "no such city" resp = requests.get(url)