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:

  • magnet:?xt=urn:btih:C20B1EE0266D962ECBB5DCCB7E331F557B3864E9&dn=Rough Night (2017) [1080p] [YTS] [YIFY]&tr=udp://tracker coppersurfer tk:6969/announce&tr=udp://9 rarbg com:2710/announce&tr=udp://p4p arenabg com:1337&tr=udp://tracker le

Leave a Reply