mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-09-02 09:12:12 +00:00
skip magnet links
This commit is contained in:
parent
acba2816e2
commit
b23f550a1b
@ -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:')) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user