feat: implement BEP-53 support
This commit is contained in:
parent
60728f1699
commit
aa0c287fe5
4 changed files with 57 additions and 6 deletions
|
|
@ -41,7 +41,7 @@ impl SerializedTorrent {
|
|||
AddTorrent::TorrentFileBytes(self.torrent_bytes)
|
||||
} else {
|
||||
let magnet =
|
||||
Magnet::from_id20(self.info_hash, self.trackers.into_iter().collect()).to_string();
|
||||
Magnet::from_id20(self.info_hash, self.trackers.into_iter().collect(), self.only_files.clone()).to_string();
|
||||
AddTorrent::from_url(magnet)
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue