Inheriting argv request timeout in unprint configuration.

This commit is contained in:
DebaucheryLibrarian 2024-07-06 06:19:38 +02:00
parent 1e96c23c4c
commit 857771e5c6
1 changed files with 2 additions and 2 deletions

View File

@ -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',
},
});