danfolkes/Magnet2Torrent — pull request #7 by wagaf-d (2013-10-29 12:08:36+00:00)
Title: Use create_torrent(torrent_info) instead of manually copying propreties.

Use create_torrent(torrent_info) to retrieve all torrent properties (including trackers) and not just files, comment and creator.
Requires libtorrent 0.16 (now around for a while).

Fixes bug https://github.com/danfolkes/Magnet2Torrent/issues/4 (this PR is inspired by the patch by @deice from this bug).

Because of the previous behavior, most torrents generated by this script where useless (not downloadable) because they did not included trackers from the magnet link and did not had the same info hash.