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 {