<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yolatengo8888</author_name>
  <author_url>https://blog.hatena.ne.jp/yolatengo8888/</author_url>
  <blog_title>There is no free lunch</blog_title>
  <blog_url>https://yolatengo8888.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Nokogiriを使ったら簡単にできた。 # coding: utf-8 require 'nokogiri' require 'open-uri' def get_content(html, tag, className, index, childPath=nil) html.search(&quot;//#{tag}[@class='#{className}']#{childPath}&quot;)[index].content end class StockInfo def initialize(stockCode) @stockCode = stockCode scrape end attr_reader…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyolatengo8888.hatenadiary.org%2Fentry%2F20130310%2F1362922456&quot; title=&quot;RubyでYahooファイナンスをスクレイピング - There is no free lunch&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>2013-03-10 22:34:16</published>
  <title>RubyでYahooファイナンスをスクレイピング</title>
  <type>rich</type>
  <url>https://yolatengo8888.hatenadiary.org/entry/20130310/1362922456</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
