<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>omiyan</author_name>
  <author_url>https://blog.hatena.ne.jp/omiyan/</author_url>
  <blog_title>ドラあり！*ドラゴンに挑むアリの物語 ** Python使いの日々</blog_title>
  <blog_url>https://omiyan.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>BeautifulSoup</anon>
  </categories>
  <description>BeautifulSoupを使ってスクレイピングするときに、適切なタグ構造なら大体find一発で取得できる。ところが同じ名前のタグをいくつも引っ張ってくるときは、結構泥臭いやり方が必要。 例文 次の例文を使ってスクレイピングをしてみよう。 print soup.prettify() # &lt;html&gt; # &lt;head&gt; # &lt;title&gt; # this title # &lt;/title&gt; # &lt;/head&gt; # &lt;body&gt; # &lt;p id=&quot;test_id&quot; align=&quot;center&quot;&gt; # This is test paragraph # &lt;b&gt; # test # &lt;/b&gt; # . # &lt;/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fomiyan.hatenadiary.org%2Fentry%2F20101205%2F1291549089&quot; title=&quot;BeautifulSoupで上手にスクレイピングする方法 - ドラあり！*ドラゴンに挑むアリの物語 ** Python使いの日々&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>2010-12-05 20:38:09</published>
  <title>BeautifulSoupで上手にスクレイピングする方法</title>
  <type>rich</type>
  <url>https://omiyan.hatenadiary.org/entry/20101205/1291549089</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
