2.1.3 • Published 8 years ago

magnet2torrenturl v2.1.3

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

magnet2torrenturl

conver magnet link to torrent

usage

  1. you can get magnet link from website like http://www.torrentkitty.me,and search anything you like.Click detail button to get magnet link
  2. npm install magnet2torrenturl --save
  3. coding
var magnet2torrent = require('magnet2torrent')
var magnetInfo = magnet2torrent('magnet:?xt=urn:btih:A74085E6F278818C7B28A4D8BEAB2C6806E03298&dn=NHDT469 プチ裸出 VOL.8 立花里子&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.publicbt.com:80&tr=udp://tracker.ccc.de:80&tr=udp://tracker.publicbt.com:80/announce');
console.log(magnetInfo['name'])//name indicate the torrent name
console.log(magnetInfo['torrentUrl']) //you can copy torrent url and paste in browser to download the torrent

develop

  1. npm install -g mocha
  2. npm test
2.1.3

8 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago