1)使用WOEID(where on earth id)
weather.yahooapis.com/forecastrss?u=c&w=44418
2)使用另一种编码
weather.yahooapis.com/forecastrss?u=c&p=CHXX0016
xml.weather.yahoo.com/forecastrss/CHXX0016_c.xml
3)根据城市名查找城市的WOEID
query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places%20where%20text="shenzhen"
说明:URL中的空格都用转义字符%20代替。