From ee632199df9e31ffbcdf14032d6a82db1d3a47da Mon Sep 17 00:00:00 2001 From: Yanlong Wang Date: Fri, 2 Aug 2024 17:12:10 +0800 Subject: [PATCH] fix --- backend/functions/src/cloud-functions/crawler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/functions/src/cloud-functions/crawler.ts b/backend/functions/src/cloud-functions/crawler.ts index 7f17b47..fce94e9 100644 --- a/backend/functions/src/cloud-functions/crawler.ts +++ b/backend/functions/src/cloud-functions/crawler.ts @@ -385,7 +385,7 @@ export class CrawlerHost extends RPCHost { if ( snapshot.maxElemDepth! > 256 || (!uid && snapshot.elemCount! > 10_000) || - snapshot.text.length > 70_000 + snapshot.elemCount! > 70_000 ) { contentText = snapshot.text; break;