diff --git a/spawn/capture.js b/spawn/capture.js index c8081732..90fc7661 100755 --- a/spawn/capture.js +++ b/spawn/capture.js @@ -3,7 +3,7 @@ const Pageres = require('pageres') async function captureUrl () { - const streams = await new Pageres({ crop: true }) + const streams = await new Pageres({ crop: true, timeout: 5 }) .src(process.argv[2], ['600x314']) .run() process.stdout.write(streams[0], () => process.exit(0))