<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>utgwkk</author_name>
  <author_url>https://blog.hatena.ne.jp/utgwkk/</author_url>
  <blog_title>私が歌川です</blog_title>
  <blog_url>https://blog.utgw.net/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>github.com コマンドラインから、--after=5m みたいな感じで渡される、時間を表す文字列をうまくパースするライブラリ py-timeparser を作りました。 PyPI にも上げたので、pip install py-timeparser でインストールできます。 timeparser っていうライブラリもありますが、別物なので注意しましょう。 pypi.python.org /(([0-9]+)h(our)?)(([0-9]+)m(in(ute)?)?)(([0-9]+)(s(ec(ond)?)?)?)/ っていう正規表現にマッチする文字列をパースします*1。要するに、 時間…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.utgw.net%2Fentry%2F2016%2F08%2F19%2F144449&quot; title=&quot;10m5s などの時間を表す文字列をパースするライブラリを作った - 私が歌川です&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>2016-08-19 14:44:49</published>
  <title>10m5s などの時間を表す文字列をパースするライブラリを作った</title>
  <type>rich</type>
  <url>https://blog.utgw.net/entry/2016/08/19/144449</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
