mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-18 00:55:55 +08:00
fix: typo
This commit is contained in:
parent
579f259cb9
commit
1084b16c84
@ -331,7 +331,7 @@ export class CrawlerHost extends RPCHost {
|
|||||||
let turnDownService = this.getTurndown({ url: nominalUrl });
|
let turnDownService = this.getTurndown({ url: nominalUrl });
|
||||||
if (mode !== 'markdown' && snapshot.parsed?.content) {
|
if (mode !== 'markdown' && snapshot.parsed?.content) {
|
||||||
const par1 = turnDownService.turndown(toBeTurnedToMd);
|
const par1 = turnDownService.turndown(toBeTurnedToMd);
|
||||||
const par2 = turnDownService.turndown(snapshot.parsed.content)
|
const par2 = turnDownService.turndown(snapshot.parsed.content);
|
||||||
|
|
||||||
// If Readability did its job
|
// If Readability did its job
|
||||||
if (par2.length >= 0.3 * par1.length) {
|
if (par2.length >= 0.3 * par1.length) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user