GolinksPRO Download Manager
  1. Home
  2. Functies
  3. Opdrachtregel

Scripts welkom. IDM-switches inbegrepen.

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-switches, ongewijzigd

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.

Een downloader voor de 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 voor scripts en programma's

Met --json print elke opdracht JSON, één object per regel: een voortgangsregel elke halve seconde terwijl een bestand downloadt, dan het pad, de grootte en de tijd wanneer het klaar is. Groottes zijn in bytes, snelheden in bytes per seconde, en een mislukking print een foutobject, zodat een script of een AI-agent het resultaat leest zonder tekst te parsen. De formaten worden opdracht per opdracht vermeld.

Een API voor de actieve app

Andere programma's kunnen de actieve app om zijn downloads vragen, als JSON, en deze pauzeren, starten, verwijderen of wissen. Ze maken alleen verbinding met een poort op deze computer, met een geheim token dat bij elke start verandert en dat alleen uw eigen programma's kunnen lezen. De API is uitgeschakeld totdat u deze inschakelt met misterdownloadmanager-cli api on, en status, pause, start, remove en delete gebruiken deze vanaf de opdrachtregel.

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.

Meer om te scripten

playlist-getdownloadt video's van een afspeellijst of kanaal, en gallery-get een fotogalerij. get gebruikt tot 128 verbindingen met -c, --dns om te kiezen wie namen omzet in adressen, en --adapter om een download via één netwerkadapter te verzenden of helemaal niet. De /startup van de app start deze verborgen in het systeemvak. De lijst van de API geeft ook de wachtrijen, de categorieën en de vrije ruimte, en start en stopt een wachtrij op naam.

Gratis, open source, geen advertenties, geen proefversie.

Download GolinksPRO Download Manager