Fix best video

This commit is contained in:
FullGreaM 2025-11-09 14:22:32 +03:00
parent abe724029c
commit 84fbc475fd

View File

@ -108,9 +108,8 @@ class DownloadVideo {
static get qualities () {
const q = {
webm_best: { exc: "webm", flag: "best", mime: "video/webm", type: "video" },
//mp4_best: { exc: "mp4", flag: "best[ext=mp4]", mime: "video/mp4" },
mp4_best: { exc: "mp4", flag: [
"bestvideo[height<=1080]+bestaudio/best",
"best[ext=mp4]",
"--merge-output-format", "mp4"
], mime: "video/mp4", type: "video", strictName: "📹 Best video" },
audio_default: { exc: "mp4", flag: "worst", mime: "audio/mpeg", type: "audio", strictName: "🎧 Audio" },