Aria2 Download icon

Aria2 Download

Add downloads to Aria2

Aria2 Download

AI-generated

Overview

This node integrates with Aria2, a download utility, to add various types of downloads such as HTTP/FTP, Torrent, and Magnet links. It is useful for automating download tasks by sending download requests to an Aria2 server. For example, it can be used to programmatically start downloads of files from URLs, torrent files, or magnet URIs, specifying optional download directories and output file names.

Use Case Examples

  1. Automate downloading files from HTTP/FTP URLs by providing the URL and optional save directory and filename.
  2. Add torrent downloads by specifying the torrent file URL and optional save directory and filename.
  3. Start magnet link downloads by providing the magnet URI and optional save directory and filename.

Properties

Name Meaning
Download Type Specifies the type of download to add to Aria2, options are HTTP/FTP, Torrent, or Magnet.
URL The URL to download, used for HTTP/FTP and Torrent download types.
Magnet URI The magnet URI to download, used only for Magnet download type.
Download Directory Optional directory path where the download will be saved.
File Name Optional name to save the downloaded file as.

Output

JSON

  • json - The JSON response from the Aria2 server after adding the download, containing details about the added download task.

Dependencies

  • An Aria2 server with JSON-RPC interface
  • An API key credential for authenticating with the Aria2 server

Troubleshooting

  • Common errors include connection issues to the Aria2 server or invalid credentials, which will result in error messages prefixed with 'Aria2 error:'.
  • Ensure the Aria2 server URL and secret token are correctly configured in the node credentials.
  • Verify that the download URLs or magnet URIs are valid and accessible.

Discussion