Updated unprint for interface and user agent control. Using request interface in Nubiles, fixed relative album path.
This commit is contained in:
10
src/app.js
10
src/app.js
@@ -32,13 +32,9 @@ let done = false;
|
||||
|
||||
unprint.options({
|
||||
timeout: argv.requestTimeout,
|
||||
headers: {
|
||||
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36',
|
||||
},
|
||||
context: {
|
||||
// browser requests
|
||||
userAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36',
|
||||
},
|
||||
userAgent: 'traxxx',
|
||||
browserUserAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36',
|
||||
apiUserAgent: 'traxxx',
|
||||
limits: {
|
||||
...config.limits,
|
||||
default: {
|
||||
|
||||
Reference in New Issue
Block a user