mvan231 / Scriptable

MIT License
120 stars 40 forks source link

url error #9

Closed felho001 closed 3 years ago

felho001 commented 3 years ago

I set my country Hungary and if I test scribptable app run all good but if I set widget I choose script and paramater Hungary widget say this. IMG_1828 IMG_1827

mvan231 commented 3 years ago

How did you get it working in the app? If you changed the default to be Hungary then no need to use the widget parameter

seems you found a fix already?

felho001 commented 3 years ago

Yes i fix I copy country name the webpage and past parameter and now work. If I widget live blank not work

felho001 commented 3 years ago

it is possible for the widget to show all the data? Like this Hungary Cases: 391,170 | Today: 1,548 | Active: 77,250 Deaths: 13,931 | Today: 94 Recovered: 299,989 | Critical 321

not only total?

mvan231 commented 3 years ago

Of course! The today information is often 0 though so I left it out

felho001 commented 3 years ago

Of course! The today information is often 0 though so I left it out

and how?

mvan231 commented 3 years ago

There would need to be adjustments made to do this. At the very beginning you can see where it is initializing the variables. We would need to setup variables for those other items then simply use the addItem function call to add them to the widget :)