武汉历史天气查询 (武汉历史天气查询2345)
武汉桑拿
05-24
阅读:86
评论:0
本页面提供武汉市过去 30 天的历史天气数据。数据由 2345 天气网提供。您可以按日期或月份查询天气数据。
按日期查询
(.+?)<\/div>/s', $html, $matches);$html = $matches[1];preg_match_all('/武汉天气
(.+?)<\/td>/s', $row, $matches);$time = $matches[1];preg_match('/时间 | 天气 | 温度(℃) | 风向 | 风力 |
---|---|---|---|---|
(.+?)<\/td>/s', $row, $matches);$weather = $matches[1];preg_match('/ | (.+?)<\/td>/s', $row, $matches);$temperature = $matches[1];preg_match('/ | (.+?)<\/td>/s', $row, $matches);$wind_direction = $matches[1];preg_match('/ | (.+?)<\/td>/s', $row, $matches);$wind_speed = $matches[1];?> |
按月份查询
(.+?)<\/div>/s', $html, $matches);$html = $matches[1];preg_match_all('/日期 | 天气 | 温度(℃) | 风向 | 风力 |
---|---|---|---|---|
(.+?)<\/td>/s', $row, $matches);$weather = $matches[1];preg_match('/ | (.+?)<\/td>/s', $row, $matches);$temperature = $matches[1];preg_match('/ | (.+?)<\/td>/s', $row, $matches);$wind_direction = $matches[1];preg_match('/ | (.+?)<\/td>/s', $row, $matches);$wind_speed = $matches[1];?> |
版权声明
本文仅代表作者观点,不代表武汉桑拿立场。
本文系作者授权发表,未经许可,不得转载。