不用id直接用拼音吧,有一些里面的名称可能拼音有重复的,你不管,直接用找到的拼音复制就行了,比如长安在多个省都有这个拼音,但是它的网页后台是变了的,所以不同的拼音就行了
1、先去这里找到你要名称全国城市天气预报_城市天气预报查询_国内天气预报查询_天气网
按F12,再按F5刷新一下,然后ctrl+f搜索比如你要的名称。那么按如下截图找拼音,浏览器中非常的长
你粘贴到文本编辑找你要的名称拼音

2、找到拼音后按这个方式接一下它的拼音就行了,html显示即可,严格按你得到的拼音即可正确得到你要的乡镇的天气预报了,你不要它的拼音对不对,反正必须是他网站的拼音就行了!
<iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=1&py=changanqu" frameborder="0" width="400" height="24" allowtransparency="true" marginwidth="0" marginheight="0" scrolling="no"></iframe>
用公式的话,直接获取单元格的拼音即可
='<iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=1&py='+b2+'" frameborder="0" width="400" height="24" allowtransparency="true" marginwidth="0" marginheight="0" scrolling="no"></iframe>'
