mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-27 07:00:55 +03:00
Added video downloading functionality to multi user mode, as well as playlist management and saving of videos locally. Still missing video deletions and subscriptions
Simplified code for downloading videos to client (locally)
This commit is contained in:
@@ -9,7 +9,9 @@ var youtubedl = require('youtube-dl');
|
||||
const config_api = require('./config');
|
||||
|
||||
const adapter = new FileSync('./appdata/db.json');
|
||||
const users_adapter = new FileSync('./appdata/users.json');
|
||||
const db = low(adapter)
|
||||
const db_users = low(users_adapter);
|
||||
|
||||
const debugMode = process.env.YTDL_MODE === 'debug';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user