0

Merge pull request #228 from mendableai/bugfix/fire-engine-content

Fixed fire-engine content bug
This commit is contained in:
Nicolas 2024-06-03 11:42:03 -07:00 committed by GitHub
commit 30a0c5de1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -282,8 +282,8 @@ export async function scrapSingleUrl(
// Check for custom scraping conditions
const customScrapedContent = await handleCustomScraping(text, url);
if (customScrapedContent) {
text = customScrapedContent[0];
screenshot = customScrapedContent[1];
text = customScrapedContent.html;
screenshot = customScrapedContent.screenshot;
}
//* TODO: add an optional to return markdown or structured/extracted content