<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t2y-1979</author_name>
  <author_url>https://blog.hatena.ne.jp/t2y-1979/</author_url>
  <blog_title>forest book</blog_title>
  <blog_url>https://t2y.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>呼称: メールヘッダパーサー for Date 目的: メールヘッダから Date フィールドの日付を取得する 特徴: 意図したフォーマットでない場合はそのまま表示する 用例: メール日付を取得する 備考: email モジュールの使い方のお勉強このプログラム自体にあまり意味はないのですが、メールを真剣に構文解析しようとすると、RFC に準拠していないフォーマットがあったりして、かなり大変のようです。いずれ自分でパーサーを書く日が来るかもしれないので、その日のための勉強ログになります。 #!/usr/bin/env python # -*- coding: utf-8 -*- import s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ft2y.hatenablog.jp%2Fentry%2F20090804%2F1249383153&quot; title=&quot;メールヘッダから日付を取得する - forest book&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>2009-08-04 19:52:33</published>
  <title>メールヘッダから日付を取得する</title>
  <type>rich</type>
  <url>https://t2y.hatenablog.jp/entry/20090804/1249383153</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
