From 857771e5c64f8e510b500432dcdfeca3f3b3b2ef Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sat, 6 Jul 2024 06:19:38 +0200 Subject: [PATCH] Inheriting argv request timeout in unprint configuration. --- src/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.js b/src/app.js index f226742b..97032155 100755 --- a/src/app.js +++ b/src/app.js @@ -29,9 +29,9 @@ const inspector = new Inspector(); let done = false; unprint.options({ - timeout: 5000, + timeout: argv.requestTimeout, headers: { - 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36', + 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36', }, });