From bee169845cbeea2a2fe41518bc6c5500cc27e25a Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Thu, 12 Nov 2026 20:36:12 +0100 Subject: [PATCH] Added curlPath config, updated unprint. --- config/default.js | 1 + package-lock.json | 8 ++++---- package.json | 2 +- src/app.js | 1 + 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/config/default.js b/config/default.js index 7e240bf3..1f407f56 100755 --- a/config/default.js +++ b/config/default.js @@ -224,6 +224,7 @@ module.exports = { key: null, }, }, + curlPath: 'curl', }, limits: { default: { diff --git a/package-lock.json b/package-lock.json index cc815d7f..e73adef6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,7 +48,7 @@ "source-map-support": "^0.5.21", "template-format": "^2.0.0", "undici": "^8.12.4", - "unprint": "^1.0.0-beta.6", + "unprint": "^1.0.0-beta.7", "why-is-node-running": "^3.2.3", "winston": "^3.11.0", "winston-daily-rotate-file": "^5.0.0", @@ -8495,9 +8495,9 @@ } }, "node_modules/unprint": { - "version": "1.0.0-beta.6", - "resolved": "https://registry.npmjs.org/unprint/-/unprint-1.0.0-beta.6.tgz", - "integrity": "sha512-4azIbzD6qzehv9o6V1gINHFxL9vcKkytehNlVKnfM1tdfCFR9DjTuulFEKD6UyODO6r6yNanPnkt2ngeYM5wfg==", + "version": "1.0.0-beta.7", + "resolved": "https://registry.npmjs.org/unprint/-/unprint-1.0.0-beta.7.tgz", + "integrity": "sha512-3zgw/t5cXOQGf0M+VardySI2uXf6BgbWuF0SQYSzGVXr3Ia6+Wn+EECu59uhreOxy5jfMkwJ62gs9K8AkcpT8Q==", "license": "ISC", "dependencies": { "bottleneck": "^2.19.5", diff --git a/package.json b/package.json index d59ff9df..aa588195 100755 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "source-map-support": "^0.5.21", "template-format": "^2.0.0", "undici": "^8.12.4", - "unprint": "^1.0.0-beta.6", + "unprint": "^1.0.0-beta.7", "why-is-node-running": "^3.2.3", "winston": "^3.11.0", "winston-daily-rotate-file": "^5.0.0", diff --git a/src/app.js b/src/app.js index 1d804806..fdd91afd 100755 --- a/src/app.js +++ b/src/app.js @@ -46,6 +46,7 @@ const unprintOptions = { browser: config.limits.browser, }, proxy: config.proxy, + curlPath: config.bypass.curlPath, }; unprint.options(unprintOptions);