Closed dgalli1 closed 1 year ago
When you're starting yt-dlp via exec it sometimes fails when the video id starts with "-" -> yt-dlp will interpret this as a new command. the videoId should be escaped with ""
`(node:31596) UnhandledPromiseRejectionWarning: Error: Command failed: youtube-dl -f bestaudio[ext=m4a] --get-url -86Z9tV_FWs Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: no such option: -8 `
Never mind quotes don't work, the only way i found that works around this is sending a full url. E.x https://...?v=VideoId
When you're starting yt-dlp via exec it sometimes fails when the video id starts with "-" -> yt-dlp will interpret this as a new command. the videoId should be escaped with ""
`(node:31596) UnhandledPromiseRejectionWarning: Error: Command failed: youtube-dl -f bestaudio[ext=m4a] --get-url -86Z9tV_FWs Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: no such option: -8 `