Publish nexusphp v1.0.0
This commit is contained in:
14
adapters/nexusphp/adapter.js
Normal file
14
adapters/nexusphp/adapter.js
Normal file
@@ -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 };
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user