Remove twitter compatibility code

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

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

Loading…
Cancel
Save