1 Commits

Author SHA1 Message Date
72c474e97f add wind speed for !vreme 2024-03-04 14:44:23 +01:00

View File

@@ -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)