Bluegrams / YoutubeDLSharp

A simple .NET wrapper library for youtube-dl and yt-dlp
BSD 3-Clause "New" or "Revised" License
173 stars 30 forks source link

Use `--` to separate URLs from options #42

Closed Lordfirespeed closed 10 months ago

Lordfirespeed commented 10 months ago

Using YTDLSharp to run a command passing an ID such as this one: -ol3PSROlwg fails because YTDLP recognises the ID as a long option string.

Separating the options (as yt-dlp output suggests) from the URLs using -- mitigates this issue.