<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeshi0406</author_name>
  <author_url>https://blog.hatena.ne.jp/takeshi0406/</author_url>
  <blog_title>歩いたら休め</blog_title>
  <blog_url>https://kiito.hatenablog.com/</blog_url>
  <categories>
    <anon>requests-html</anon>
    <anon>pyppeteer</anon>
    <anon>Python</anon>
  </categories>
  <description>pyppeteerで非同期でクローリングする実装をしていて、エラー時に自動でbrowserとpageを開き直してリトライ…って考えてたんですが、あまりにリトライ処理が煩雑になるので 毎回処理したい固定長のurlのリストを受け取る レスポンスはrequests-htmlのものが便利だったので流用 ブラウザ操作周りの例外が出たらfetchの外で例外処理して全部やり直す HTMLから必要な情報だけをpyppeteerから取得することもできるが、一度メモリに乗せて同期的な世界に返してしまう って感じに割り切って実装しようと思ってるんですが、どう思いますか？ ↓こんな感じのコード from pyppet…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiito.hatenablog.com%2Fentry%2F2018%2F12%2F17%2F215924&quot; title=&quot;【Python】pyppeteerの非同期処理をこんな実装で行おうと思ってるんですが、どう思います？ - 歩いたら休め&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>2018-12-17 21:59:24</published>
  <title>【Python】pyppeteerの非同期処理をこんな実装で行おうと思ってるんですが、どう思います？</title>
  <type>rich</type>
  <url>https://kiito.hatenablog.com/entry/2018/12/17/215924</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
