youtube-likes-downloader
Version:
Download all liked videos from youtube
27 lines • 955 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getOutputDir = getOutputDir;
exports.getDownloadArchive = getDownloadArchive;
exports.getLikesFile = getLikesFile;
exports.getIncludeLikesFile = getIncludeLikesFile;
const path_1 = __importDefault(require("path"));
const dirPaths = {
input: 'input',
output: 'output',
};
function getOutputDir(profile) {
return path_1.default.join(dirPaths.output, profile);
}
function getDownloadArchive(profile) {
return path_1.default.join(dirPaths.input, `${profile}.ytdlp`);
}
function getLikesFile(profile) {
return path_1.default.join(dirPaths.input, `${profile}.txt`);
}
function getIncludeLikesFile(profile) {
return path_1.default.join(dirPaths.input, `${profile}.include.txt`);
}
//# sourceMappingURL=paths.js.map