<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oneshotlife_tom</author_name>
  <author_url>https://blog.hatena.ne.jp/oneshotlife_tom/</author_url>
  <blog_title>武器商人＠Pythonのブログ</blog_title>
  <blog_url>https://oneshotlife-python.hatenablog.com/</blog_url>
  <categories>
    <anon>WebScraping</anon>
  </categories>
  <description>私の以下３サイトのtitleタグを取得するスクリプトを書きました。 或阿呆のブログ 武器商人＠Pythonのブログ http://oneshotlife-excel-vba.hateblo.jp/やりかたはいろいろあるんですが、今回は、正規表現で、titleタグをマッチさせるやり方で取得しました。 サンプルコード # -*- coding: utf-8 -*- import urllib import re urls = [&quot;http://oneshotlife-tom.hatenadiary.jp/&quot;, &quot;http://oneshotlife-python.hatenablog.com/&quot;,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foneshotlife-python.hatenablog.com%2Fentry%2FWebScraping_Title&quot; title=&quot;ウェブサイトのtitleタグを正規表現を使い取得する - 武器商人＠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>http://ecx.images-amazon.com/images/I/517z2NUzcEL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-02-13 16:44:46</published>
  <title>ウェブサイトのtitleタグを正規表現を使い取得する</title>
  <type>rich</type>
  <url>https://oneshotlife-python.hatenablog.com/entry/WebScraping_Title</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
