mirror of
https://github.com/intergalacticalvariable/reader.git
synced 2024-11-16 11:42:32 +08:00
fix
This commit is contained in:
parent
ee632199df
commit
0a2c0932fd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user