remove audio from yt video

This commit is contained in:
Vadim committed 2024-06-09 12:25:03 +02:00
1 parent c062063258
commit af462ee4a7
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ def download_youtube_video(url: str, clear_filename: str, output_path: str) -> N
print(f"{ULTRASINGER_HEAD} Downloading Video")
ydl_opts = {
"format": "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4",
"format": "bestvideo[ext=mp4]/mp4",
"outtmpl": output_path + "/" + clear_filename + ".mp4",
}
start_download(ydl_opts, url)