This commit is contained in:
2021-11-08 20:49:10 +08:00
9 changed files with 382 additions and 25 deletions

28
main.js
View File

@@ -1,24 +1,10 @@
// import BtDonwold from "./util/index.js";
import Koa from "koa"
import requter from "./util/Router.js"
const app = new Koa();
// const bt = new BtDonwold({
// ip:"127.0.0.1",
// port:17844
// })
app.use(async ctx => {
ctx.body = 'Hello World';
});
// 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")
// import Reptile from "./util/reptileutil.js";
// const reptile = new Reptile()
// async function getlist (){
// let list = await reptile.find("阴阳眼见子")
// for(let i of list){
// reptile.getepisode(i.name)
// }
// }
// // 第*集
// getlist()
app.listen(4000)