<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kagasu</author_name>
  <author_url>https://blog.hatena.ne.jp/kagasu/</author_url>
  <blog_title>備忘録</blog_title>
  <blog_url>https://kagasu.hatenablog.com/</blog_url>
  <categories>
    <anon>Puppeteer</anon>
  </categories>
  <description>Ⅰ. はじめに タイトルの通り「Puppeteerでレスポンスを書き換える方法」です。 Ⅱ. やり方 1. テスト用のサンプルプログラムを書く index.html &lt;html&gt; &lt;script&gt; (async() =&gt; { let res = await fetch('/get_data.php') let json = await res.json() // console.log(json) })() &lt;/script&gt; &lt;/html&gt; get_data.php &lt;?php $obj = [ 'name' =&gt; 'tanaka', 'age' =&gt; 20 ]; echo json_enc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2019%2F05%2F11%2F102908&quot; title=&quot;Puppeteerでレスポンスを書き換える方法 - 備忘録&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/k/kagasu/20190511/20190511102844.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-11 10:29:08</published>
  <title>Puppeteerでレスポンスを書き換える方法</title>
  <type>rich</type>
  <url>https://kagasu.hatenablog.com/entry/2019/05/11/102908</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
