<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wafu3000</author_name>
  <author_url>https://blog.hatena.ne.jp/wafu3000/</author_url>
  <blog_title>wafuの技術</blog_title>
  <blog_url>https://wafu3000.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Rubyでホームページの取得方法は open-uriを使う方法が簡単です。 他にはnet/httpを使うと、高度な設定が可能です。例1 open-uri require &quot;open-uri&quot; open(&quot;https://www.example.com/&quot; do |f| print f.read end例2 open-uri require 'open-uri' io = OpenURI.open_uri('http://www.example.com') puts io.read例3 net/http の例 require &quot;net/http&quot; url = URI.parse(&quot;http://…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwafu3000.hatenablog.com%2Fentry%2F2023%2F01%2F29%2F205142&quot; title=&quot;Rubyでホームページの取得（1） - wafuの技術&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>2023-01-29 20:51:42</published>
  <title>Rubyでホームページの取得（1）</title>
  <type>rich</type>
  <url>https://wafu3000.hatenablog.com/entry/2023/01/29/205142</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
