mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-12-02 01:48:10 +09:00
remove audio from yt video
This commit is contained in:
1 parent
c062063258
commit
af462ee4a7
3 files changed
+3
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user