diff --git a/Dockerfile b/Dockerfile index d9e5739..36dafcb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM apify/actor-node-chrome +FROM apify/actor-node-chrome-xvfb # Copy source code COPY . ./ diff --git a/src/main.js b/src/main.js index 96296c4..9ab5273 100644 --- a/src/main.js +++ b/src/main.js @@ -152,8 +152,9 @@ Apify.main(async () => { const crawler = new Apify.PuppeteerCrawler({ launchPuppeteerOptions: { useApifyProxy: true, + useChrome: true, apifyProxyGroups: ['CZECH_LUMINATI'], - liveView: true, + liveView: Apify.isAtHome(), }, requestQueue, handlePageTimeoutSecs: 1200,