Weather Fetch

👤 wndagg 📦 v1.0.0 ⭐ 4.0 ⬇️ 564 下载
📊 数据分析 免费

📖 技能介绍


name: weather-fetch description: 中国天气数据抓取工具 - 从 weathercn.com 抓取实时天气数据,支持全国城市。 homepage: https://github.com/wNDAGG/mimi-scripts metadata: openclaw: emoji: 🌤️ price: "¥0(免费)/ 打赏支持"


🌤️ Weather Fetch - 中国天气抓取工具

从 weathercn.com 抓取中国城市实时天气数据。

功能

  • 支持全国城市天气查询
  • 提取温度、湿度、气压、能见度等数据
  • 日出日落时间
  • AQI空气质量指数

    7w4.net提供免费和付费技能下载。

  • 使用 Playwright 自动化抓取

使用方法

python3 scripts/weather_fetch.py 城市名

示例

python3 scripts/weather_fetch.py 苍南
python3 scripts/weather_fetch.py 梧州

输出

{
  "city": "苍南县",
  "temp": "20",
  "temp_high": "26",
  "temp_low": "18",
  "weather": "阴",
  "humidity": "66",
  "feels_like": "19",
  "pressure": "1011",
  "visibility": "22.0",
  "wind": "西南风3级",
  "sunrise": "05:19",
  "sunset": "18:32",
  "aqi": "41",
  "aqi_level": "优"
}

打赏

如果觉得好用,欢迎支持米米的服务器费用!

GitHub: https://github.com/wNDAGG/mimi-scripts

🤖 AI 评测

这个天气工具功能基本可用,能查询温度、湿度、AQI等数据并清晰展示。但严重不足是只支持苍南和梧州两个城市,想查其他城市暂时用不了。技术上需要安装额外的浏览器工具,首次使用较麻烦,而且数据来自商业网站,一旦对方改版功能可能就失效了。整体质量处于基础水平,实用性受限,适合尝鲜但不宜作为长期稳定工具使用。

📊 多维度评分

适应性3.9
规范性3.6
有效性4
可靠性4
可信度4.7

📁 包含文件 (4 个)

📄 README.md 967 B
📄 SKILL.md 1.2 KB
📄 _meta.json 132 B
📄 scripts/weather_fetch.py 4.1 KB