<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazukifu</author_name>
  <author_url>https://blog.hatena.ne.jp/kazukifu/</author_url>
  <blog_title>Kazuki's Blog</blog_title>
  <blog_url>https://kazukifu.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>🧩 はじめに 以前公開した 🌦️ PythonとDockerで実現！OpenWeatherMap APIデータ収集・SQLite保存の自動化 では、天気データの自動取得とSQLiteへの保存を行う仕組みを紹介しました。 その後、実行ログを確認していると、毎回「DB初期化完了: /app/data/weather_history.db」というメッセージが記録されていることに気づきました。 これは一見正常に動作しているように見えますが、毎回初期化処理が行われているように誤解を招く可能性があります。 そこで今回は、実際に新規DBを作成したときのみ初期化メッセージを表示するように改良していきます。 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazukifu.hatenablog.com%2Fentry%2F2025%2F10%2F13%2F163243&quot; title=&quot;🌦️ PythonとDockerで実現！OpenWeatherMap APIデータ収集・SQLite保存の自動化(コードの改良) - Kazuki&amp;#39;s Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-10-13 16:32:43</published>
  <title>🌦️ PythonとDockerで実現！OpenWeatherMap APIデータ収集・SQLite保存の自動化(コードの改良)</title>
  <type>rich</type>
  <url>https://kazukifu.hatenablog.com/entry/2025/10/13/163243</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
