@ -259,6 +259,10 @@ getId("pasteUrl").addEventListener("click", () => {
});
// Getting video info
/**
*
* @param {string} url
*/
async function getInfo(url) {
audioExtensionList = [];
let selected = false;
@ -309,6 +313,9 @@ async function getInfo(url) {
let info = "";
// Twitter/X compatibility
url = url.replace("//x.com/", "//twitter.com/")
const infoProcess = cp.spawn(
`"${ytDlp}"`,
[