This commit is contained in:
Yanlong Wang 2024-08-02 17:13:50 +08:00
parent ee632199df
commit 0a2c0932fd
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -387,6 +387,7 @@ export class CrawlerHost extends RPCHost {
(!uid && snapshot.elemCount! > 10_000) ||
snapshot.elemCount! > 70_000
) {
this.logger.warn('Degrading to text to protect the server', { url: snapshot.href });
contentText = snapshot.text;
break;
}