Ticket #10231 (closed Patch - Bug Fix: fixed)
Opened 18 months ago
Last modified 16 months 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.
comment:1 Changed 18 months ago by Github
- Status changed from new to closed
- Resolution set to fixed
- Milestone changed from unknown to 0.25
comment:2 Changed 18 months ago by beirdo
- Milestone changed from 0.25 to 0.24.2
comment:3 Changed 16 months ago by stuartm
- Milestone 0.24.2 deleted