mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-09-10 13:22:18 +00:00
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:
parent
4fa33afe40
commit
c5e25d17fb
@ -424,7 +424,9 @@ try {
|
|||||||
// Skip page processing without returned data
|
// Skip page processing without returned data
|
||||||
if (!$content = $curl->getContent()) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user