From b2c16d1107ce46e29273604df6421dd48be79f85 Mon Sep 17 00:00:00 2001 From: andres Date: Tue, 14 Mar 2023 01:58:40 +0100 Subject: [PATCH] try another url --- src/index.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 2d9cdff..e670f83 100644 --- a/src/index.ts +++ b/src/index.ts @@ -115,7 +115,15 @@ const scrape = async () => { geolocation: { longitude: -3.703790, latitude: 40.416775 }, userAgent: 'Chrome/91.0.4472.77', timezoneId: 'Europe/Madrid', - locale: 'es-ES' + locale: 'es-ES', + bypassCSP: true, + viewport: { width: 1920, height: 1080 }, + deviceScaleFactor: 1, + isMobile: false, + hasTouch: false, + acceptDownloads: true, + javaScriptEnabled: true + }) try { const page = await browser.newPage()