【文件属性】:
文件名称:gladys-downloader:[已弃用]用Gladys下载文件!
文件大小:15KB
文件格式:ZIP
更新时间:2021-05-01 18:11:48
JavaScript
Gladys下载器
该模块可帮助您下载扔给Gladys的文件! 让我举个例子:您想下载一个非常重的文件,但又不想整夜使用计算机……把它交给Gladys吧! Gladys将下载文件,并在下载开始和结束时发出事件。
您可以在找到此模块。
##安装
要安装Gladys Downloader,只需按照以下步骤操作:
# Go to the hooks directory
$ cd gladys/api/hooks
# Clone the repository
$ git clone https://github.com/gladysproject/gladys-downloader downloader
$ cd downloader
# Install NPM dependencies
$ npm install
# Restart Gladys
$ sudo pm2 restart gl
【文件预览】:
gladys-downloader-master
----downloads()
--------.gitkeep(0B)
----.gitignore(3KB)
----package.json(324B)
----services()
--------DownloaderService.js(3KB)
----assets()
--------.gitignore(13B)
--------templates()
--------js()
--------css()
----models()
--------Download.js(290B)
----LICENSE(1KB)
----index.js(985B)
----views()
--------box.ejs(73B)
----README.md(1KB)
----config()
--------policies.js(165B)
--------routes.js(215B)
----lib()
--------bind()
--------defaults.js(645B)
--------routes.js(70B)
--------parametres.js(489B)
--------initialize.js(1KB)
--------configure.js(89B)
--------downloaderInstall.js(704B)
----controllers()
--------DownloaderController.js(581B)