I am using the jQuery plugin jquery.simpleweather to query for Yahoo weather for a specific zip code and I get the response back in JSON format. One of the keys returned is called "link" which provides a link to the "Full Forecast". This used to work just fine, but now (as of around the beginning of this month) the links it provides just ports the user to the yahoo weather home page. I'm assuming they must have made some kind of change to the way things work. Anyway an example of this is if I say provide the zip code of 93065 which is "Simi Valley, CA" the link gets returned in the JSON repsonse like this:
The link looks very screwy, but that's what gets returned in the response and if you attempt to GO to that link, it just ports you to the default yahoo weather page instead of the forecast for that city.
Is there are a way maybe to create my own link? I am trying to figure out how to just hot link to the yahoo weather page for 93065. I can construct the link in my code. The problem is it doesn't look straight forward. If I do a google search for "yahoo weather 93065", and click on the first search result the link is this
https://weather.yahoo.com/united-states/california/simi-valley-2493889/
The problem is I don't know what that "2493889" is or how to capture that value. I was hoping I could just create a link like this
https://weather.yahoo.com/united-states/california/93065/
but that doesn't work. How can I just hot link to a yahoo weather page when all I have is the zip code and the city name?
THANKS