<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://www.aipacommander.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Python2</anon>
  </categories>
  <description>といっても、初歩的な初歩なんですけども。。。 準備 from bs4 import BeautifulSoup これでおｋ。まだインストールしていないならpipでインストールしてね。 今回はurlからデータを取得してそれをBeautifulSoupへ渡す。 import requests response = requests.get('http://www.yahoo.co.jp') soup = BeautifulSoup(response.text) おｋ。 ちなみに、htmlファイルをディスクからreadして渡すのもおｋ。 file_path = 'htmlのファイルパス' f = o…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.aipacommander.com%2Fentry%2F2016%2F09%2F24%2F141323&quot; title=&quot;【Python2.7】BeautifulSoupで（個人的に）よく使うコードをメモ - ITの隊長のブログ&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/98194825/1514241549987688</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-24 14:13:23</published>
  <title>【Python2.7】BeautifulSoupで（個人的に）よく使うコードをメモ</title>
  <type>rich</type>
  <url>https://www.aipacommander.com/entry/2016/09/24/141323</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
