Aria2 has the ability to specify a magnet URI and it will save a torrent file. This file gets saved with a name of the hex encoded info hash with suffix .torrent
.
Magnet URIs have an option for ?dn=
, which is a Display Name. Is it possible to use this name when saving the torrent, so that
aria2c -d . --bt-metadata-only=true --bt-save-metadata=true "magnet:?xt=urn:btih:cf7da7ab4d4e6125567bd979994f13bb1f23dddd&dn=ubuntu-18.04.2-desktop-amd64.iso"
outputs ubuntu-18.04.2-desktop-amd64.iso.torrent
instead of cf7da7ab4d4e6125567bd979994f13bb1f23dddd.torrent
?