diff --git a/.gitignore b/.gitignore index 11771c0..62278e7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ data/ test.* *.log .vscode/ -.eslintignore \ No newline at end of file +.eslintignore +temp/ \ No newline at end of file diff --git a/apps/nga.js b/apps/nga.js index bf4b8ee..091436b 100644 --- a/apps/nga.js +++ b/apps/nga.js @@ -19,8 +19,8 @@ export class NGA extends plugin { } ] }) - this.incomeCurvePath = `${Plugin_Path}/data/incomeCurve` - this.referencePanelPath = `${Plugin_Path}/data/referencPanel` + this.incomeCurvePath = `${Plugin_Path}/temp/incomeCurve` + this.referencePanelPath = `${Plugin_Path}/temp/referencPanel` this.incomeCurveObj = incomeCurve } diff --git a/model/PicSearch/whatanime.js b/model/PicSearch/whatanime.js index e4f85a7..efd10dc 100644 --- a/model/PicSearch/whatanime.js +++ b/model/PicSearch/whatanime.js @@ -104,7 +104,7 @@ async function getAnimeInfo (id) { } async function downFile (url) { - let path = `${Plugin_Path}/data/video/whatanime.mp4` + let path = `${Plugin_Path}/temp/whatanime/1.mp4` logger.mark('[Yenai-Plugin][whatanime]下载预览视频') await common.downFile(url, path) logger.mark('[Yenai-Plugin][whatanime]下载预览视频成功')