1 Star 0 Fork 0

spilgts/aria2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.constants.js 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
therealme1 提交于 2019-11-02 16:11 . Update .constants.js
module.exports = Object.freeze({
TOKEN: 'Bot Token Here!', //Telegramm Bot token!
ARIA_SECRET: 'enter the secret key', //Enter the secret key you entered in `aria.sh` file while editing
ARIA_DOWNLOAD_LOCATION: '/app/dn', //This is for heroku on termux change it to your directory of cloned repo using "pwd" command
ARIA_DOWNLOAD_LOCATION_ROOT: '/', //"No need to touch this!" The mountpoint that contains ARIA_DOWNLOAD_LOCATION
ARIA_FILTERED_DOMAINS: ['yts', 'YTS', 'cruzing.xyz', 'eztv.ag', 'YIFY'], // Prevent downloading from URLs containing these substrings
ARIA_FILTERED_FILENAMES: ['YIFY'], // Files/top level directories with these substrings in the filename won't be downloaded
GDRIVE_PARENT_DIR_ID: 'Drive Folder id here',
SUDO_USERS: [806259523, 401643149], // Telegram user IDs. These users can use the bot in any chat.
AUTHORIZED_CHATS: [23543, 3535], // Telegram chat IDs. Anyone in these chats can use the bot.
DOWNLOAD_NOTIFY_TARGET: { // Information about the web service to notify on download completion.
enabled: false, // Set this to true to use the notify functionality
host: 'hostname.domain',
port: 80,
path: '/botNotify'
}
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/xueyueli/aria2.git
git@gitee.com:xueyueli/aria2.git
xueyueli
aria2
aria2
master

搜索帮助