mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader.git
synced 2025-08-18 23:45:56 +08:00
fix(adaptive-crawler): useSitemap should be rewritten in certain condition
This commit is contained in:
parent
339af19192
commit
af282eec43
@ -144,6 +144,8 @@ export class AdaptiveCrawlerHost extends RPCHost {
|
||||
|
||||
await Promise.all(promises);
|
||||
} else {
|
||||
meta.useSitemap = false;
|
||||
|
||||
await AdaptiveCrawlTask.COLLECTION.doc(shortDigest).update({
|
||||
urls: [targetUrl.toString()],
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user