<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rikoubou</author_name>
  <author_url>https://blog.hatena.ne.jp/rikoubou/</author_url>
  <blog_title>ソースに絡まるエスカルゴ</blog_title>
  <blog_url>https://rikoubou.hatenablog.com/</blog_url>
  <categories>
    <anon>Googleスプレッドシート</anon>
  </categories>
  <description>Webページから特定のものを抜き出すいわゆるWebスクレイピングが簡単にできないかと思って調べてみたところ、GoogleスプレッドシートのIMPORTXML関数を使えば簡単に抜き出せるとわかったのでその使い方の備忘録になります。 参考資料に公式のドキュメントとより詳しい解説をしているページ様を掲載していますので、気になる方は参照をお願いします。 では始めます。 １：IMPORTXML関数について 公式ドキュメントにあるように、構文は以下のようになっています。 IMPORTXML(URL, XPathクエリ) 第一引数は対象のWebページのURL、第二引数はXPathクエリを設定します。 XPa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frikoubou.hatenablog.com%2Fentry%2F2019%2F11%2F19%2F154456&quot; title=&quot;【Googleスプレッドシート】IMPORTXML関数を使ったWebスクレイピング - ソースに絡まるエスカルゴ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/r/rikoubou/20191119/20191119144518.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-19 15:44:56</published>
  <title>【Googleスプレッドシート】IMPORTXML関数を使ったWebスクレイピング</title>
  <type>rich</type>
  <url>https://rikoubou.hatenablog.com/entry/2019/11/19/154456</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
