From 285384be229a4ea3805fba7fc38e7ace8ebe68ee Mon Sep 17 00:00:00 2001 From: Oleg Sobolev Date: Mon, 25 Mar 2024 17:36:02 +0700 Subject: [PATCH] add -- separator when calling yt-dlp --- src/download.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/download.rs b/src/download.rs index 0dd5668..f319b14 100644 --- a/src/download.rs +++ b/src/download.rs @@ -16,6 +16,7 @@ pub fn download_from_youtube(url: &str) -> Result { "--print", "%(id)s", "--no-simulate", + "--", url, ]) .output()