- Accueil
- Fonctionnalités
- Ligne de commande
Scripts bienvenus. Les options d’IDM sont incluses.
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.
Les options d’IDM, inchangées
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.
Un téléchargeur pour le 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 pour les scripts et les programmes
Avec --json, chaque commande affiche du JSON, un objet par ligne : une ligne de progression toutes les demi-secondes pendant le téléchargement d’un fichier, puis le chemin, la taille et l’heure une fois terminé. Les tailles sont en octets, les vitesses en octets par seconde, et un échec affiche un objet d’erreur, de sorte qu’un script ou un agent IA lit le résultat sans analyser le texte. Les formats sont listés commande par commande.
Une API pour l’application en cours d’exécution
D’autres programmes peuvent demander à l’application en cours d’exécution ses téléchargements, au format JSON, et les mettre en pause, les démarrer, les supprimer ou les effacer. Ils se connectent à un port sur cet ordinateur uniquement, avec un jeton secret qui change à chaque démarrage et que seuls vos propres programmes peuvent lire. L’API est désactivée tant que vous ne l’activez pas avec misterdownloadmanager-cli api on, et status, pause, start, remove et delete l’utilisent depuis la ligne de commande.
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.
Plus à scripter
playlist-gettélécharge les vidéos d’une liste de lecture ou d’une chaîne, et gallery-get une galerie d’images. get prend jusqu’à 128 connexions avec -c, --dns pour choisir qui transforme les noms en adresses, et --adapter pour envoyer un téléchargement via un adaptateur réseau ou pas du tout. L’/startup de l’application la démarre cachée dans la zone de notification. La liste de l’API donne également les files d’attente, les catégories et l’espace libre, et elle démarre et arrête une file d’attente par son nom.
Gratuit, open source, sans publicité ni période d’essai.
Download GolinksPRO Download Manager