<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nearpro</author_name>
  <author_url>https://blog.hatena.ne.jp/nearpro/</author_url>
  <blog_title>nearproの日記</blog_title>
  <blog_url>https://skgckj.hateblo.jp/</blog_url>
  <categories>
    <anon>技術記録</anon>
  </categories>
  <description>テストやスクレイピングで便利なGoutteですが、普通に使ってる場合だとCookieとかも宜しく処理してくれるので特に何も考えずにゴリゴリ実装できます。 例えば、ログインが必要なページにアクセスする場合、下のようなコードでログイン後にリクエストします。そしたら、当然、ログイン画面にリダイレクトされることもなくページを取得できます。 &lt;?php $client = new Goutte\Client(); $crawler = $client-&gt;request('get', 'http://www.facebook.com'); //ログインページ $form = $crawler-&gt;filte…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fskgckj.hateblo.jp%2Fentry%2F2015%2F02%2F04%2F091724&quot; title=&quot;別々のGoutte\ClientにCookie情報を引き継いで渡したい - nearproの日記&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>2015-02-04 09:17:24</published>
  <title>別々のGoutte\ClientにCookie情報を引き継いで渡したい</title>
  <type>rich</type>
  <url>https://skgckj.hateblo.jp/entry/2015/02/04/091724</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
