prevent page ban when it MIME in the whitelist, skip steps below only (make multimedia/streaming resources visible in search results)

This commit is contained in:
ghost 2023-06-04 17:44:09 +03:00
parent 4fa33afe40
commit c5e25d17fb

View File

@ -424,7 +424,9 @@ try {
// Skip page processing without returned data
if (!$content = $curl->getContent()) {
$hostPagesBanned += $db->updateHostPageTimeBanned($queueHostPage->hostPageId, time());
// Prevent page ban when it MIME in the whitelist, skip steps below only
// This case possible for multimedia/streaming resources index
// $hostPagesBanned += $db->updateHostPageTimeBanned($queueHostPage->hostPageId, time());
continue;
}