mirror of
https://github.com/ershisan99/scrape-icp.git
synced 2025-12-18 12:33:56 +00:00
try another url
This commit is contained in:
10
src/index.ts
10
src/index.ts
@@ -115,7 +115,15 @@ const scrape = async () => {
|
|||||||
geolocation: { longitude: -3.703790, latitude: 40.416775 },
|
geolocation: { longitude: -3.703790, latitude: 40.416775 },
|
||||||
userAgent: 'Chrome/91.0.4472.77',
|
userAgent: 'Chrome/91.0.4472.77',
|
||||||
timezoneId: 'Europe/Madrid',
|
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 {
|
try {
|
||||||
const page = await browser.newPage()
|
const page = await browser.newPage()
|
||||||
|
|||||||
Reference in New Issue
Block a user