From a322bc36fc387460d2d5c02e491c024e001e19c2 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 4 Jan 2024 17:49:10 -0300 Subject: [PATCH] coto: corregir chequeo instock --- scraper/parsers/coto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper/parsers/coto.ts b/scraper/parsers/coto.ts index ee2a876..0e92642 100644 --- a/scraper/parsers/coto.ts +++ b/scraper/parsers/coto.ts @@ -28,7 +28,7 @@ function getPriceFromText({ document }: Window) { return parseFloat(nStr) * 100; } function getInStock({ document }: Window) { - return !document.querySelector("product_not_available"); + return !document.querySelector(".product_not_available"); } export function getCotoProduct(html: string | Buffer): Precioish {