add -- separator when calling yt-dlp

This commit is contained in:
Oleg Sobolev 2024-03-25 17:36:02 +07:00
parent 9a924c8c0d
commit 285384be22

View file

@ -16,6 +16,7 @@ pub fn download_from_youtube(url: &str) -> Result<TrackInfo, DownloadError> {
"--print",
"%(id)s",
"--no-simulate",
"--",
url,
])
.output()