Skip to content

Commit

Permalink
fix: page scan retryCount 3 -> 1 (faster, same result)
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Mar 11, 2021
1 parent f8eecca commit fbf0619
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scrap-site.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ module.exports = async (baseUrl, options = {}) => {
allowedDomains: options.limitDomain ? [domain] : undefined,
skipRequestedRedirect: true, // all redirects marks as visited
depthPriority: false, // without it find not all pages
retryCount: 1,
args: ['--no-sandbox', '--disable-dev-shm-usage'], // puppeteer freezes without it
exporter,

Expand Down

0 comments on commit fbf0619

Please sign in to comment.