<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ninoseki</author_name>
  <author_url>https://blog.hatena.ne.jp/ninoseki/</author_url>
  <blog_title>にのせき日記</blog_title>
  <blog_url>https://ninoseki.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>http://developer.yahoo.co.jp/webapi/shopping/shopping/v1/itemsearch.html Yahoo!ショッピングのAPIを利用してJANコードを用いて商品の情報(今回は書名とURL)を手に入れてみる。 市販のバーコードリーダーを使ってそこいらにあった本のJANコードを読み込み、txtファイルに保存済み。XMLのパースにはBeautifulSoupを使ってみた。 from BeautifulSoup import BeautifulSoup import urllib2 op = urllib2.build_opener() appid …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fninoseki.hatenadiary.org%2Fentry%2F20090520%2F1242826735&quot; title=&quot;JANコードで商品検索 - にのせき日記&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-05-20 22:38:55</published>
  <title>JANコードで商品検索</title>
  <type>rich</type>
  <url>https://ninoseki.hatenadiary.org/entry/20090520/1242826735</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
