diff --git a/adapters/nexusphp/adapter.js b/adapters/nexusphp/adapter.js new file mode 100644 index 0000000..2304279 --- /dev/null +++ b/adapters/nexusphp/adapter.js @@ -0,0 +1,14 @@ +// 新建适配器, 请实现适配方法 + +function search(keyword, page) { + // TODO: 实现 + return []; +} + +function getDetail(id) { + return { id: id, title: "", description: "", imdbUrl: null, screenshots: [], size: "", seeders: 0, leechers: 0 }; +} + +function getUserStats() { + return { uploaded: 0, downloaded: 0, bonus: 0, ratio: 0, seedingCount: 0 }; +} \ No newline at end of file