GolinksPRO Download Manager
  1. Startseite
  2. Funktionen
  3. Befehlszeile

Skripte willkommen. IDM-Parameter enthalten.

GDM takes IDM's command-line switches, so scripts written for IDM can hand it their downloads. A separate tool downloads in a terminal, and a local API lets other programs see and control the running app.

IDM-Parameter, unverändert

The app understands the same switches as IDM: /d for the address, /p for the folder, /f for the file name, /a to queue it without starting, /n to skip the Download File Info window, and /s to start the main download queue. A batch file or another program that drives IDM this way can drive GDM by changing the program's name.

misterdownloadmanager.exe /d https://example.com/files/report.pdf /p D:\Reports /n

If GDM is running, the command goes to it; if not, GDM starts and carries it out. On macOS and Linux the program has the same name, without .exe.

Ein Downloader für das Terminal

misterdownloadmanager-cli comes with every download of GDM and works without the app running. get downloads a file over several connections with a progress line, Ctrl+C pauses it and resume carries on later. video-get downloads a video, and torrent-get a torrent or only some of its files. video-info and torrent-info say what there is to choose before you download. misterdownloadmanager-cli help <command> lists every option, and a command that fails exits with code 1.

JSON für Skripte und Programme

Mit --json gibt jeder Befehl JSON aus, ein Objekt pro Zeile: eine Fortschrittsanzeige jede halbe Sekunde, während eine Datei heruntergeladen wird, dann den Pfad, die Größe und die Zeit, wenn sie fertig ist. Größen sind in Bytes, Geschwindigkeiten in Bytes pro Sekunde, und ein Fehler gibt ein Fehlerobjekt aus, sodass ein Skript oder ein KI-Agent das Ergebnis ohne Textanalyse lesen kann. Die Formate sind Befehl für Befehl aufgelistet.

Eine API für die laufende App

Andere Programme können die laufende App nach ihren Downloads fragen, als JSON, und diese pausieren, starten, entfernen oder löschen. Sie verbinden sich nur mit einem Port auf diesem Computer, mit einem geheimen Token, das sich bei jedem Start ändert und das nur Ihre eigenen Programme lesen können. Die API ist deaktiviert, bis Sie sie mit misterdownloadmanager-cli api on aktivieren, und status, pause, start, remove und delete verwenden sie über die Befehlszeile.

Every request and answer is described field by field in a JSON Schema, made from the code the app answers with, so programs can check what they send or generate their types from it. AI assistants use the same API through GDM's MCP server.

Mehr zum Skripten

playlist-getlädt Videos einer Wiedergabeliste oder eines Kanals herunter, und gallery-get eine Bildergalerie. get verwendet bis zu 128 Verbindungen mit -c, --dns zur Auswahl, wer Namen in Adressen umwandelt, und --adapter, um einen Download über einen Netzwerkadapter zu senden oder gar nicht. Das /startup der App startet sie versteckt im Infobereich. Die API-Liste enthält auch die Warteschlangen, die Kategorien und den freien Speicherplatz und startet und stoppt eine Warteschlange nach Namen.

Kostenlos, Open Source, keine Werbung, keine Testversion.

Download GolinksPRO Download Manager