Browse Source

add debug output on skip condition

main
ghost 1 year ago
parent
commit
86b20cbc51
  1. 14
      src/cli/document/crawl.php

14
src/cli/document/crawl.php

@ -311,7 +311,19 @@ foreach($search->get() as $document) @@ -311,7 +311,19 @@ foreach($search->get() as $document)
}
}
if ($skip) continue;
if ($skip)
{
echo sprintf(
'skip "%s" by stripos condition "%s"' . PHP_EOL,
$url,
print_r(
$config->cli->document->crawl->skip->stripos->url,
true
)
);
continue;
}
// Save index
$url = trim($url);

Loading…
Cancel
Save