@imenam/simple-scraper 1.0.17 → 1.0.18

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.
@@ -33,6 +33,7 @@ function buildServerEntry(codeRoot) {
33
33
  PROXY_APP_PATH: `/simple-scraper-${folder}`,
34
34
  PUPPETEER_VIEWPORT_WIDTH: '1920',
35
35
  PUPPETEER_VIEWPORT_HEIGHT: '1080',
36
+ COOKIES_DIR: '',
36
37
  },
37
38
  };
38
39
  }
@@ -43,12 +44,12 @@ const GENERATED_VARS = [
43
44
  ['PROXY_APP_PATH', 'chemin de montage de la GUI derrière le proxy'],
44
45
  ['PUPPETEER_VIEWPORT_WIDTH', 'largeur du viewport en pixels CSS'],
45
46
  ['PUPPETEER_VIEWPORT_HEIGHT', 'hauteur du viewport en pixels CSS'],
47
+ ['COOKIES_DIR', 'dossier de fichiers cookies au format Netscape (.txt)'],
46
48
  ];
47
49
  const OPTIONAL_VARS = [
48
50
  ['PUPPETEER_DEVICE_SCALE_FACTOR', 'pixels physiques par pixel CSS (2 = screenshots retina)'],
49
51
  ['PUPPETEER_HEADLESS', 'false pour afficher la fenêtre Chromium'],
50
52
  ['PUPPETEER_TIMEOUT', 'timeout de navigation en ms (défaut : 30000)'],
51
- ['COOKIES_DIR', 'dossier de fichiers cookies au format Netscape (.txt)'],
52
53
  ['MCP_LOG_DIR', 'répertoire des logs'],
53
54
  ['SCRAPER_MAX_SESSIONS', 'nombre max de sessions interactives (défaut : 5)'],
54
55
  ['SCRAPER_SESSION_TTL_MS', 'TTL d\'inactivité des sessions en ms (défaut : 600000)'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imenam/simple-scraper",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "MCP server for web scraping and JavaScript execution using Puppeteer",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",