mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-06 05:58:35 +08:00
fix(scrapeURL/loop): re-add is long enough check with lt 0
This commit is contained in:
parent
0da386914d
commit
97bf54214f
@ -225,8 +225,7 @@ async function scrapeURLLoop(meta: Meta): Promise<ScrapeUrlResponse> {
|
||||
};
|
||||
|
||||
// Success factors
|
||||
// const isLongEnough = engineResult.markdown.length >= 20;
|
||||
const isLongEnough = true; // just assume first engine is good
|
||||
const isLongEnough = engineResult.markdown.length > 0;
|
||||
const isGoodStatusCode =
|
||||
(engineResult.statusCode >= 200 && engineResult.statusCode < 300) ||
|
||||
engineResult.statusCode === 304;
|
||||
|
Loading…
x
Reference in New Issue
Block a user