Skip to content

Commit f63ccd2

Browse files
committed
Update index.js
1 parent 5e7203d commit f63ccd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ const initializeCrawler = async () => {
2323
requestQueue,
2424
useSessionPool: true,
2525
persistCookiesPerSession: false,
26-
headless: false,
26+
headless: true,
2727
keepAlive: true,
2828
minConcurrency: 5,
2929
maxConcurrency: 30,
3030
requestHandler: async ({ request, page }) => {
31-
await page.route('**/*', (route) => {
32-
if (route.request().resourceType() === 'image') {
31+
await page.route("**/*", (route) => {
32+
if (route.request().resourceType() === "image") {
3333
route.abort();
3434
} else {
3535
route.continue();

0 commit comments

Comments
 (0)