Inheriting argv request timeout in unprint configuration.
This commit is contained in:
parent
1e96c23c4c
commit
857771e5c6
|
@ -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',
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue