<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>doroyamada</author_name>
  <author_url>https://blog.hatena.ne.jp/doroyamada/</author_url>
  <blog_title>パンクはいつも突然に</blog_title>
  <blog_url>https://doroyamada.hatenablog.jp/</blog_url>
  <categories>
    <anon>PC</anon>
    <anon>web</anon>
  </categories>
  <description>instagramのAPIは自分のアカウントの情報しか得られないらしいが、サブアカウントの更新情報を更新情報ページに反映させたい。 ならソースコードを見ればいいかと思ったが、大部分はJavaScriptで書かれているので、そのままではいかなそう。 ふとスクレイピングという単語を思い出し、「instagram スクレイピング」で検索。 blog.xin9le.net なるほど、JavaScriptの変数にJsonとやら（名前は知っていた）の形式で書かれているらしい。Jsonはphpで簡単に扱えるらしい。 で、作ったのが以下。エラー処理はテキトー。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdoroyamada.hatenablog.jp%2Fentry%2F20180510%2F1525954397&quot; title=&quot;phpでinstagramをスクレイピングして更新時刻を得る - パンクはいつも突然に&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>2018-05-10 21:13:17</published>
  <title>phpでinstagramをスクレイピングして更新時刻を得る</title>
  <type>rich</type>
  <url>https://doroyamada.hatenablog.jp/entry/20180510/1525954397</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
