百度搜索
请求地址: https://www.baidu.com/home/other/data/weatherInfo?indextype=manht
可用参数:city
提交方式:GET
Ex:https://www.baidu.com/home/other/data/weatherInfo?indextype=manht&city=烟台
返回数据类型:json
Ex:
{
"errNo": "0",
"data": {
"weather": {
"setting": {
"city": "烟台"
},
"content": {
"week": "周四 02月21日 ",
"city": "烟台",
"today": {
"time": "周四 02月21日 (实时:4℃)",
"date": "02月21日",
"img": ["http:\/\/s1.bdstatic.com\/r\/www\/aladdin\/img\/new_weath\/bigicon\/1.png", "http:\/\/s1.bdstatic.com\/r\/www\/aladdin\/img\/new_weath\/bigicon\/1.png"],
"condition": "晴转多云",
"wind": "北风3-4级",
"temp": "4℃",
"link": "http:\/\/www.weather.com.cn\/weather\/101120501.shtml",
"imgs": {
"1": "a0",
"0": "a0"
},
"pm25": "180",
"pollution": "30",
"pm25url": "\/\/www.baidu.com\/s?wd=%E7%83%9F%E5%8F%B0%E7%A9%BA%E6%B0%94%E8%B4%A8%E9%87%8F%E6%8C%87%E6%95%B0&tn=baidutop10&rsv_idx=2",
"pmdate": "2019-02-21"
},
"tomorrow": {
"time": "周五",
"date": "02月22日",
"img": ["http:\/\/s1.bdstatic.com\/r\/www\/aladdin\/img\/new_weath\/icon\/5.png", ""],
"condition": "多云转晴",
"wind": "南风3-4级",
"temp": "7 ~ -1℃",
"link": "http:\/\/www.weather.com.cn\/weather\/101120501.shtml",
"imgs": {
"1": "a1",
"0": "a1"
},
"pm25": "180",
"pollution": "30",
"pm25url": "\/\/www.baidu.com\/s?wd=%E7%83%9F%E5%8F%B0%E7%A9%BA%E6%B0%94%E8%B4%A8%E9%87%8F%E6%8C%87%E6%95%B0&tn=baidutop10&rsv_idx=2",
"pmdate": "2019-02-21"
},
"thirdday": {
"time": "周六",
"date": "02月23日",
"img": ["http:\/\/s1.bdstatic.com\/r\/www\/aladdin\/img\/new_weath\/icon\/1.png", ""],
"condition": "晴",
"wind": "北风3-4级",
"temp": "7 ~ -4℃",
"link": "http:\/\/www.weather.com.cn\/weather\/101120501.shtml",
"imgs": {
"1": "a0",
"0": "a0"
},
"pm25": "\/\/www.baidu.com\/s?wd=%E7%83%9F%E5%8F%B0%E7%A9%BA%E6%B0%94%E8%B4%A8%E9%87%8F%E6%8C%87%E6%95%B0&tn=baidutop10&rsv_idx=2",
"pollution": "30",
"pm25url": "",
"pmdate": "2019-02-21"
},
"fourthday": {
"time": "周日",
"date": "02月24日",
"img": ["http:\/\/s1.bdstatic.com\/r\/www\/aladdin\/img\/new_weath\/icon\/1.png", ""],
"condition": "晴",
"wind": "南风3-4级",
"temp": "8 ~ -3℃",
"link": "http:\/\/www.weather.com.cn\/weather\/101120501.shtml",
"imgs": {
"1": "a0",
"0": "a0"
}
},
"fifthday": {
"time": "周一",
"date": "02月25日",
"img": ["http:\/\/s1.bdstatic.com\/r\/www\/aladdin\/img\/new_weath\/icon\/1.png", ""],
"condition": "晴",
"wind": "东北风3-4级",
"temp": "7 ~ 0℃",
"link": "http:\/\/www.weather.com.cn\/weather\/101120501.shtml",
"imgs": {
"1": "a0",
"0": "a0"
}
},
"linkseven": "http:\/\/www.weather.com.cn\/weather\/101120501.shtml#7d",
"source": {
"name": "中国气象频道",
"url": "http:\/\/www.mywtv.cn\/"
},
"cityname": "烟台",
"calendar": {
"time": "1550734734447",
"lunar": "正月十七",
"festival": false,
"weatherSourceUrl": "http:\/\/www.weather.com.cn\/weather\/101120501.shtml#7d"
},
"currenttemp": "4℃",
"pslink": "\/\/www.baidu.com\/s?tn=baidutop10&rsv_idx=2&wd=%E7%83%9F%E5%8F%B0%E5%A4%A9%E6%B0%94%E9%A2%84%E6%8A%A5",
"weatherType": "aladdin",
"isauto": false,
"ipcity": "xx",
"province": "山东"
}
}
}
}