Total Pageviews

Friday, 30 September 2016

Magnet2Torrent(把磁力链接转换为torrent文件)

This will convert a magnet link into a .torrent file.

A command line tool that converts magnet links into .torrent files.

Requirements

  • python
  • python-libtorrent (libtorrent-rasterbar version 0.16 or later)

Install python-libtorrent on Ubuntu

sudo apt-get install python-libtorrent -y

How to Use

python Magnet_To_Torrent2.py <magnet link> [torrent file]

Example

python Magnet_To_Torrent2.py -m "magnet:?xt=urn:btih:49fbd26322960d982da855c54e36df19ad3113b8&dn=ubuntu-12.04-desktop-i386.iso&tr=udp%3A%2F%2Ftracker.openbittorrent.com" -o ubunut12-04.iso
from  https://github.com/danfolkes/Magnet2Torrent