Add file id to filename

pull/204/head
Andrew 2 years ago
parent faa3246553
commit 5e58ca749f

@ -356,7 +356,7 @@ async function getInfo(url) {
const parsedInfo = JSON.parse(info);
console.log(parsedInfo);
title = parsedInfo.title;
title = `${parsedInfo.title} [${parsedInfo.id}]`;
id = parsedInfo.id;
thumbnail = parsedInfo.thumbnail;
duration = parsedInfo.duration;

Loading…
Cancel
Save