Remove twitter compatibility code

release
aandrew-me 3 months ago
parent 18b6911759
commit 32df326027

@ -336,9 +336,6 @@ async function getInfo(url) {
let info = "";
// Twitter/X compatibility
url = url.replace("//x.com/", "//twitter.com/")
const infoOptions = [
"-j",
"--no-playlist",
@ -605,7 +602,7 @@ async function getInfo(url) {
"| " +
(vcodec ? vcodec + spaceAfterVcodec : '') +
size +
(format.acodec !== "none" ? " 🔈" : "") +
(format.acodec !== "none" ? " 🔊" : "") +
"</option>";
getId("videoFormatSelect").innerHTML += element;
}

Loading…
Cancel
Save