protected function fetch($url)
{
$req = new HttpRequest($url);
+ $req->setHeader(
+ 'accept',
+ implode(',', array_keys(static::$supportedIndexTypes))
+ );
$res = $req->send();
if ($res->getStatus() !== 200) {
throw new \Exception(
protected function enqueue($linkInfos)
{
+ var_dump($linkInfos);die();
foreach ($linkInfos as $linkInfo) {
if ($this->es->isKnown($linkInfo->url)) {
continue;