<?php require_once('vendor/autoload.php'); use GuzzleHttp\Client; use GuzzleHttp\Pool; use GuzzleHttp\Psr7\Request; use Symfony\Component\DomCrawler\Crawler; // URL一覧を用意 $urls = [ 'http://localhost/01.html', 'http://localhost/02.html', 'http://localhost/03.html', 'http://localhost/04.html', 'http://localhost/05.html', ]; // クライアント $client = new Client([ 'headers' => [ 'User-Agent' => 'PHP Crawler'