Possibly fix youtube-dl certificate error

This commit is contained in:
Master Kwoth 2017-07-09 00:56:12 +02:00
parent f58e7ed7ac
commit 9eab7d949f

View File

@ -21,7 +21,7 @@ namespace NadekoBot.Services.Impl
StartInfo = new ProcessStartInfo() StartInfo = new ProcessStartInfo()
{ {
FileName = "youtube-dl", FileName = "youtube-dl",
Arguments = $"-f bestaudio -e --get-url --get-id --get-thumbnail --get-duration \"ytsearch:{url}\"", Arguments = $"-f bestaudio -e --get-url --get-id --get-thumbnail --get-duration --no-check-certificate \"ytsearch:{url}\"",
UseShellExecute = false, UseShellExecute = false,
RedirectStandardError = true, RedirectStandardError = true,
RedirectStandardOutput = true, RedirectStandardOutput = true,