add 文件制种,截图

This commit is contained in:
2023-07-01 21:01:05 +08:00
parent ab4783d544
commit 0781193f3d
2 changed files with 76 additions and 16 deletions

View File

@@ -10,7 +10,7 @@ const router = new Router()
router.get("/test", async (ctx) => {
let url = ctx.query.url
await utils.getMediaInfo(url).then(value => {
await utils.createTorrent(url,'C:\\Users\\SummerTail\\Downloads\\Video\\斗破苍穹.年番.Fights.Break.Sphere.S05E06.2022.2160p.WEB-DL.H265.AAC-ADWeb.torrent').then(value => {
ctx.body = {
code: 0,
msg: "Test",