dandanplay-resource-api
v0.7.3
Published
The DanDanPlay Resource API Server
Downloads
22
Readme
DanDanPlay Resource API for Node.js
Node.js 版 彈彈play 資源查詢 API server
支援資料來源
dmhy
:動漫花園 - share.dmhy.orgdmhyanoneko
:動漫花園 anoneko - dmhy.anoneko.com
使用
安裝全局套件來啟動 Server:
npm install -g dandanplay-resource-api
啟動 Server,預設為 8123
port:
dandanplay-resource-api
或者一次安裝直接啟動 Server:
npx dandanplay-resource-api
然後開啟 彈彈play 设置中心 > 网络与更新,修改「API 端点」和「资源搜索节点」為 http://localhost:8123
,即可使用資源搜索和自動下載功能了!
選項
Provider
指定其他資料來源 (目前只支援動漫花園):
dandanplay-resource-api --provider=dmhy
Port
監聽在 3000
port:
dandanplay-resource-api --port=3000
開發
用 Git 下載專案到本地,用 Yarn 安裝依賴和啟動 Server:
yarn
yarn dev
編譯資產:
yarn build