borrar utils

This commit is contained in:
Cat /dev/Nulo 2023-12-22 12:42:48 -03:00
parent 470629678e
commit e8a7e4e874
4 changed files with 1711 additions and 4 deletions

View file

@ -1,5 +1,4 @@
import puppeteer from "puppeteer";
import { blockImages } from "../puppeteer-utils";
(async () => {
const browser = await puppeteer.launch({
@ -8,8 +7,6 @@ import { blockImages } from "../puppeteer-utils";
});
const page = await browser.newPage();
await blockImages(page);
await page.goto("https://diaonline.supermercadosdia.com.ar/almacen/");
async function getHrefs() {

View file

@ -12,7 +12,6 @@
"license": "ISC",
"dependencies": {
"puppeteer": "^21.6.1",
"puppeteer-utils": "workspace:^",
"tsx": "^4.7.0"
}
}

1707
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load diff

4
pnpm-workspace.yaml Normal file
View file

@ -0,0 +1,4 @@
packages:
- "dia-link-scraper"
- "coto-link-scraper"
- "scraper"