scraply 1.0.22 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "scraply",
3
3
  "description": "A simple, configurable and functional content scraper",
4
- "version": "1.0.22",
4
+ "version": "1.0.24",
5
5
  "main": "src/scraply.js",
6
6
  "type": "module",
7
7
  "scripts": {
@@ -14,12 +14,12 @@ export const initializeCluster = async () => {
14
14
  puppeteerOptions: {
15
15
  headless: true,
16
16
  args: [
17
- // '--no-sandbox',
17
+ '--no-sandbox',
18
18
  '--disable-setuid-sandbox',
19
+ '--no-zygote',
19
20
  '--disable-dev-shm-usage',
20
- '--disable-accelerated-2d-canvas',
21
21
  '--disable-gpu',
22
- // '--single-process',
22
+ '--disable-accelerated-2d-canvas',
23
23
  '--disable-background-networking',
24
24
  '--disable-background-timer-throttling',
25
25
  '--disable-breakpad',
@@ -38,12 +38,10 @@ export const initializeCluster = async () => {
38
38
  '--password-store=basic',
39
39
  '--use-mock-keychain',
40
40
  '--disable-software-rasterizer',
41
- '--no-zygote',
42
41
  '--disable-infobars',
43
42
  '--disable-blink-features=AutomationControlled',
44
43
  '--disable-component-extensions-with-background-pages',
45
44
  '--mute-audio',
46
- '--window-size=1280,800', // Moderate window size
47
45
  '--window-position=0,0',
48
46
  '--ignore-certificate-errors',
49
47
  '--ignore-certificate-errors-skip-list',
@@ -54,7 +52,8 @@ export const initializeCluster = async () => {
54
52
  '--disable-ipc-flooding-protection',
55
53
  '--disable-renderer-backgrounding',
56
54
  '--enable-features=NetworkService,NetworkServiceInProcess',
57
- '--force-color-profile=srgb'
55
+ '--force-color-profile=srgb',
56
+ '--window-size=1380,900' // Moderate window size
58
57
  ],
59
58
  timeout: 15000
60
59
  }