This commit is contained in:
2021-10-12 21:04:23 +08:00
commit b46a49dc30
6 changed files with 226 additions and 0 deletions

12
main.js Normal file
View File

@@ -0,0 +1,12 @@
import BtDonwold from "./util/index.js";
const bt = new BtDonwold({
ip:"127.0.0.1",
port:17844
})
// const str = bt.base64_encode("C:/Users/116296/Desktop/debian-edu-11.0.0-amd64-netinst.iso.torrent")
// bt.addTask("C:/Users/116296/Desktop/debian-edu-11.0.0-amd64-netinst.iso.torrent")
// bt.getList()
// bt.delete("899d629411da83faf1893f77266d8b40b3adecde")