mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-02-03 10:25:52 +00:00
skip x-raw-image links crawl
This commit is contained in:
parent
50b6e90380
commit
71a3e7dd0e
@ -112,6 +112,12 @@ foreach ($db->getCrawlQueue(CRAWL_PAGE_LIMIT, time() - CRAWL_PAGE_SECONDS_OFFSET
|
||||
continue;
|
||||
}
|
||||
|
||||
// Skip x-raw-image links
|
||||
if (false !== strpos($href, 'x-raw-image:')) {
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
// @TODO skip other apps
|
||||
|
||||
// Add absolute URL prefixes to the relative links found
|
||||
|
Loading…
x
Reference in New Issue
Block a user