forked from DebaucheryLibrarian/traxxx
Passing limit arguments to unprint as defaults (will not override hostname limits).
This commit is contained in:
parent
ceed11cf7e
commit
a12b88d6cf
|
@ -35,7 +35,13 @@ unprint.options({
|
||||||
headers: {
|
headers: {
|
||||||
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.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',
|
||||||
},
|
},
|
||||||
limits: config.limits,
|
limits: {
|
||||||
|
...config.limits,
|
||||||
|
default: {
|
||||||
|
interval: argv.interval || config.limits.default.interval,
|
||||||
|
concurrency: argv.concurrency || config.limits.default.concurrency,
|
||||||
|
},
|
||||||
|
},
|
||||||
proxy: config.proxy,
|
proxy: config.proxy,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue