|
@@ -8,7 +8,7 @@ use symphonia_core::io::ReadOnlySource;
|
|
|
use tokio::process::Command as TokioCommand;
|
|
|
|
|
|
pub async fn ytdl(query: &str) -> Result<Value, std::io::Error> {
|
|
|
- let mut cmd = TokioCommand::new("youtube-dl");
|
|
|
+ let mut cmd = TokioCommand::new("yt-dlp");
|
|
|
let cmd = cmd
|
|
|
.arg("-j")
|
|
|
.arg("-f")
|