mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
add debug output on skip condition
This commit is contained in:
parent
3306dc1961
commit
86b20cbc51
1 changed files with 13 additions and 1 deletions
|
|
@ -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
|
// Save index
|
||||||
$url = trim($url);
|
$url = trim($url);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue