Updated unprint for interface and user agent control. Using request interface in Nubiles, fixed relative album path.

This commit is contained in:
DebaucheryLibrarian
2026-01-08 01:04:34 +01:00
parent 5ce3d79e49
commit b67824969f
5 changed files with 45 additions and 21 deletions

View File

@@ -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: {