The Big Three! (V1.1.1)

Added concurrency control for downloads using p-limit (max 6 simultaneous).

Removed cli-progress and progress bars from downloads, as it shits the bed with concurrency.

Simplified axios requests in downloadJar (removed custom headers as it was used only for cli-progress).

Refactored Jenkins handling to use API JSON instead of HTML scraping. (as i had weird failing with a few jenkins servers, and this seemed to fix it completely)

Removed cli-progress dependency; added p-limit dependency.
This commit is contained in:
2025-12-13 20:04:37 -08:00
parent da7a8c5f3e
commit aee24d9492
2 changed files with 42 additions and 46 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "download-plugs",
"version": "1.1.0",
"version": "1.1.1",
"main": "index.js",
"scripts": {
"run": "node index.js"
@@ -12,7 +12,7 @@
"dependencies": {
"axios": "^1.9.0",
"cheerio": "^1.0.0",
"cli-progress": "^3.12.0",
"p-limit": "^7.2.0",
"ssh2-sftp-client": "^12.0.0"
}
}