skip magnet links

This commit is contained in:
ghost 2023-06-13 20:25:37 +03:00
parent acba2816e2
commit b23f550a1b

View File

@ -866,6 +866,12 @@ foreach ($db->getHostPageCrawlQueue(CRAWL_PAGE_LIMIT, time() - CRAWL_PAGE_SECOND
continue;
}
// Skip magnet links
if (false !== stripos($href, 'magnet:')) {
continue;
}
// Skip x-raw-image links
if (false !== stripos($href, 'x-raw-image:')) {