How to get .torrent files from magnet link

How to get .torrent files from magnet link ?

Method 1: using aria2

Read more: How to install aria2 on CentOS

Using this command line:

aria2c -d /path/to/save/torrent/file --bt-metadata-only=true --bt-save-metadata=true "magnet link"


aria2c -d /home/torrents --bt-metadata-only=true --bt-save-metadata=true "magnet:?xt=urn:btih:D0F4204EA69169F3B640E36A409EF8AAA3E8CAA1&dn=ROH+Wrestling+28th+Sept+2018+WEBRip+h264-TJ+%5BTJET%5D&"

Method 2: Nodejs

Using parse-torrent


const parseTorrent = require('parse-torrent');
const fs = require('fs');
const info = parseTorrent('magnet link');
const buf = parseTorrent.toTorrentFile(info);
fs.writeFile('ex.torrent', buf, (err) => {
  if (err) throw err;
  console.log('The torrent file has been saved!');

Recent search terms:

  • https://tutorialspots com/how-to-get-torrent-files-from-magnet-link-4375 html

Leave a Reply