2021-03-08, 09:31
(2021-03-08, 08:53)Jeffers24 Wrote:I'ts on page 30 by user zambu.(2021-03-05, 18:34)pkscout Wrote:Looks like the dev will not be making the changes to Yahoo Weather for Kodi 18 :-((2021-03-05, 06:35)David Rad Wrote: Yahoo had posted several times that its free weather api will be discontinued, but that was postponed several times. Now it seems finally gone, though not quite.There is a work around. I saw the update to Multiweather for Kodi 19 come across this morning. I applied the same fix to my local copy of Yahoo Weather on Kodi 18, and I have weather again. So for Kodi 18, it's just a matter of waiting for the update to be done for Yahoo Weather. If you don't want to wait and have some understanding of editing Python files, you can look at the changes for Multi-weather and apply them to Yahoo Weather. Here are the changes:
It seems like they are obscuring the location of the json file containing weather data, just like YouTube is obscuring the location of their videos.
For example, the url https://www.yahoo.com/news/_tdnews/api/resource/WeatherService;woeids=[56023011] displays fine in my Chrome browser, but the usual method of getting the data with requests.get(url) produces a 403 error.
Is there a workaround, or should we finally switch to another weather provider?
https://github.com/xbmc/repo-scripts/pull/1903/files
The changes made to the file weather.py in Multiweather need to be done to defaulty.py in Yahoo Weather.
I have no programming skills, I have compared the multiweather changes to the yahoo file but cannot see what I have to change.
Given the dev is not planning an update, would it be possible for you to make a copy of your locally modified Yahoo Weather default.py available for download?