add -- separator when calling yt-dlp
This commit is contained in:
parent
9a924c8c0d
commit
285384be22
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ pub fn download_from_youtube(url: &str) -> Result<TrackInfo, DownloadError> {
|
||||||
"--print",
|
"--print",
|
||||||
"%(id)s",
|
"%(id)s",
|
||||||
"--no-simulate",
|
"--no-simulate",
|
||||||
|
"--",
|
||||||
url,
|
url,
|
||||||
])
|
])
|
||||||
.output()
|
.output()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue