# Download files from magnet links with Apify

**Use case:** 

Use Torrent Downloader to save files from public magnet links to Apify storage with metadata, file paths, sizes, and dataset links.

## Input

```json
{
  "targets": [
    "magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel"
  ],
  "maxTorrentSizeMb": 250,
  "maxRunSizeMb": 500
}
```

## Output

```json
{
  "fileName": {
    "label": "File name",
    "format": "string"
  },
  "downloadUrl": {
    "label": "Download URL",
    "format": "string"
  },
  "torrentName": {
    "label": "Torrent name",
    "format": "string"
  },
  "filePath": {
    "label": "File path",
    "format": "string"
  },
  "fileSizeBytes": {
    "label": "File size",
    "format": "integer"
  },
  "infoHash": {
    "label": "Info hash",
    "format": "string"
  },
  "target": {
    "label": "Submitted target",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Torrent Downloader](https://apify.com/maximedupre/torrent-downloader) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/torrent-downloader) to learn more, explore other use cases, and run it yourself.