@cloud411716/fancy-webnovel 0.2.5 → 0.2.6
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
|
@@ -120,7 +120,7 @@ async function runScanWithChromiumFix(ctx, session, invocation, { platform, leng
|
|
|
120
120
|
'node',
|
|
121
121
|
[join(SCAN_SCRIPTS_DIR, 'run-scan.js'),
|
|
122
122
|
'--project-root', projectRoot, '--platform', platform, '--length', length],
|
|
123
|
-
{ timeout:
|
|
123
|
+
{ timeout: 900000, stop }
|
|
124
124
|
);
|
|
125
125
|
return r;
|
|
126
126
|
};
|
|
@@ -179,7 +179,7 @@ function spawnScraper(platform, length, outDir) {
|
|
|
179
179
|
|
|
180
180
|
process.stderr.write(`\n→ 启动采集脚本...`);
|
|
181
181
|
const p = spawn('node', [scraperScript, ...fullArgs], {
|
|
182
|
-
timeout:
|
|
182
|
+
timeout: 900000,
|
|
183
183
|
stdio: ['ignore', 'pipe', 'inherit'],
|
|
184
184
|
});
|
|
185
185
|
let out = '';
|