mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-05 15:51:29 +03:00
Fixed bugged override
This commit is contained in:
@@ -1472,7 +1472,7 @@ async function generateArgs(url, type, options) {
|
|||||||
|
|
||||||
let downloadConfig = null;
|
let downloadConfig = null;
|
||||||
let qualityPath = (is_audio && !options.skip_audio_args) ? '-f bestaudio' :'-f best[ext=mp4]';
|
let qualityPath = (is_audio && !options.skip_audio_args) ? '-f bestaudio' :'-f best[ext=mp4]';
|
||||||
const is_youtube = !url.includes('youtu');
|
const is_youtube = url.includes('youtu');
|
||||||
if (!is_audio && !is_youtube) {
|
if (!is_audio && !is_youtube) {
|
||||||
// tiktok videos fail when using the default format
|
// tiktok videos fail when using the default format
|
||||||
qualityPath = '-f best';
|
qualityPath = '-f best';
|
||||||
|
|||||||
Reference in New Issue
Block a user