<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>maru0014</author_name>
  <author_url>https://blog.hatena.ne.jp/maru0014/</author_url>
  <blog_title>自動化厨のプログラミングメモブログ │ CODE:LIFE</blog_title>
  <blog_url>https://codelife.cafe/</blog_url>
  <categories>
    <anon>スクレイピング</anon>
  </categories>
  <description>Webスクレイピング超入門① で紹介した IMPORTXML 関数でXPathを開発者ツールによって自動取得する方法がありました。 codelife.cafe ただ、この方法にはいくつかの欠点があります。 HTML構造の変更に弱く n 番目の tr などの指定では上に一つ tr が追加されたら全て1つズレる、XPathの表記が長すぎてあとから人間が理解しづらいなど。 これらの対策として、できれば「XPathを理解して自分で指定する」のがベストかと思います。（ChatGPTに相談するというのもアリかもしれません） ということで、XPathの使い方チートシートを置いておくので参考にしつつ開発者ツー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcodelife.cafe%2Fentry%2Fxpath-scraping&quot; title=&quot;Webスクレイピングの必須知識「XPath」のチートシート Webスクレイピング超入門③ - 自動化厨のプログラミングメモブログ │ CODE:LIFE&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.user.blog.st-hatena.com/default_entry_og_image/100136985/1599872518912070</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-01-01 10:00:00</published>
  <title>Webスクレイピングの必須知識「XPath」のチートシート Webスクレイピング超入門③</title>
  <type>rich</type>
  <url>https://codelife.cafe/entry/xpath-scraping</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
