我正在尝试创建一个html超链接,直接从extratorrent.cc下载.torrent或磁铁文件,就像yts.ag一样,但我的链接不起作用?
<a rel="nofollow" title="Download verified torrent file" href="magnet:?xt=urn:btih:d84ac81cb6bb3ae055aca1a75b4ddeb30f00e38b&dn=Suicide.Squad.2016.EXTENDED.720p.WEBRip.x264.AAC-ETRG&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce&tr=udp%3A%2F%2Fglotorrents.pw%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fzer0day.to%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce">Download torrent</a>
答案 0 :(得分:0)
使用像https://webtorrent.io/intro
这样的工具怎么样?var WebTorrent = require('webtorrent')
var client = new WebTorrent()
var magnetURI = 'magnet: ...'
client.add(magnetURI, { path: '/path/to/folder' }, function (torrent) { torrent.on('done', function () {
console.log('torrent download finished') }) })