diff --git a/src/utils/url-tools.ts b/src/utils/url-tools.ts index 80f5961..611b3bd 100644 --- a/src/utils/url-tools.ts +++ b/src/utils/url-tools.ts @@ -489,7 +489,7 @@ export async function processURLs( // check if content is likely a blocked msg from paywall, bot detection, etc. // only check for <5000 char length content as most blocking msg is short const spamDetectLength = 300; - const isGoodContent = data.content.length > spamDetectLength || await classifyText(data.content); + const isGoodContent = data.content.length > spamDetectLength || !await classifyText(data.content); if (!isGoodContent) { console.error(`Blocked content ${data.content.length}:`, url, data.content.slice(0, spamDetectLength)); throw new Error(`Blocked content ${url}`);