Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nickscamara committed Nov 6, 2024
1 parent 8151107 commit 48025e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/scraper/scrapeURL/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async function scrapeURLLoop(
const engineResult = _engineResult as EngineScrapeResult & { markdown: string };

// Success factors
const isLongEnough = engineResult.markdown.length >= 100;
const isLongEnough = engineResult.markdown.length >= 1;
const isGoodStatusCode = engineResult.statusCode < 300;
const hasNoPageError = engineResult.error === undefined;

Expand Down

0 comments on commit 48025e4

Please sign in to comment.