mzeryck / Weather-Cal

This is a Scriptable widget that lets you display, position, and format multiple elements, including dates and events, weather information, battery level, and more. You can even create your own elements.
MIT License
808 stars 316 forks source link

country names in covid data #157

Closed enochling closed 2 years ago

enochling commented 2 years ago

it seems that it doesn't work for countries with names more than one words (e.g. new zealand, hong kong etc)

tried to wrap it with different quotation marks but still not working.

pk4m commented 2 years ago

Space is encoded with %20 in the URLs https://coronavirus-19-api.herokuapp.com/countries/New%20Zealand

mzeryck commented 2 years ago

I've fixed the parsing of the "Country for COVID information" setting to work better without needing to change the URL.