diff --git a/lib/scraper/index.ts b/lib/scraper/index.ts index c88cfa8..fb0df27 100644 --- a/lib/scraper/index.ts +++ b/lib/scraper/index.ts @@ -78,7 +78,7 @@ export async function scrapeAmazonProduct(url: string) { averagePrice: Number(currentPrice) || Number(originalPrice), } - console.log(data); + return data; } catch (error: any) { throw new Error(`Failed to scrape product ${error.message}`);