1
0
Fork 0
This commit is contained in:
lightling 2024-02-19 00:05:45 -05:00
parent 7638c38a6d
commit ae2d467a4d

View file

@ -114,7 +114,7 @@ export const getUser = (user, path, modeParams) => {
const proc = spawn(`python3 ~/.local/bin/gallery-dl -c ./config.json${!!args ? ' ' + args + ' ' : ' '}-d ${path} "${url}"`, { shell: true });
proc.stdout.on('data', data => {
log(ctx, `${data.toString().startsWith('# ') ? '\x1b[90mSkipped ' + data.toString().trim() + '\x1b[0m' : '\x1b[36mDownloaded' + data.toString().trim() + '\x1b[0m'}`);
log(ctx, `${data.toString().startsWith('# ') ? '\x1b[90mSkipped ' + data.toString().trim() + '\x1b[0m' : '\x1b[36mDownloaded ' + data.toString().trim() + '\x1b[0m'}`);
});
proc.stderr.on('data', data => {
error(ctx, data);