mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-19 13:59:12 +08:00
fix: provide empty content field
This commit is contained in:
parent
f6a183f87a
commit
c6634298c4
@ -318,6 +318,7 @@ export class SearcherHost extends RPCHost {
|
||||
url: upstreamSearchResult.url,
|
||||
title: upstreamSearchResult.title,
|
||||
description: upstreamSearchResult.description,
|
||||
content: ['html', 'text', 'screenshot'].includes(mode) ? undefined : ''
|
||||
};
|
||||
}
|
||||
return this.crawler.formatSnapshot(mode, x, urls[i]).then((r) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user