<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rutei</author_name>
  <author_url>https://blog.hatena.ne.jp/rutei/</author_url>
  <blog_title>.rute1/</blog_title>
  <blog_url>https://rutei.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>requestsでボタンを擬似クリック Beautiful Soupでhrefが取得できないボタン等のクリック動作をrequestsで再現する方法を調べたので、まとめます。 hrefが取得できないボタン 例えばこのページの「CSVダウンロード」ボタン部分などはBeatiful Soupでもhrefが取得しにくいためにrequestsでのスクレイピングが困難です。 CSVダウンロード 「csvダウンロード」ボタンのソースコードはこのようになっています。 &lt;input class=&quot;btn btn-primary&quot; type=&quot;submit&quot; value=&quot;CSVダウンロード&quot;&gt; おそらくこのボタ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frutei.hatenablog.com%2Fentry%2F2018%2F11%2F30%2F205517&quot; title=&quot;【Python】requestsでボタンを擬似クリック - .rute1/&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/rutei/20181130/20181130205349.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-30 20:55:17</published>
  <title>【Python】requestsでボタンを擬似クリック</title>
  <type>rich</type>
  <url>https://rutei.hatenablog.com/entry/2018/11/30/205517</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
