Opened 5 years ago
Closed 5 years ago
Last modified 4 years ago
yrnoxml.pl won't show list of cities during adding new location
|Reported by:||j.novak@…||Owned by:||beirdo|
|Component:||Plugin - MythWeather||Version:||0.24.1|
yrnoxml.pl won't show list of cities during adding new location. The reason is that yr.no changed format of page which script parsed. You can check it with ./yrnoxml.pl -l liberec - It won't return any location.
I found that there is no way how to update script to parse homepage correctly, so I updated script to use JSON API at yr.no to find cities as yr.no home page does.
It adds dependency on JSON perl module.
Note: During work on code I found that code uses -D parameter for debugging, but command line parser don't accept it. I updated it too.
Change History (4)
Changed 5 years ago by j.novak@…
comment:1 Changed 5 years ago by Github
- Milestone changed from unknown to 0.25
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 5 years ago by beirdo
- Milestone changed from 0.25 to 0.24.2
comment:3 Changed 4 years ago by stuartm
- Milestone 0.24.2 deleted