Possibly fix youtube-dl certificate error
This commit is contained in:
parent
f58e7ed7ac
commit
9eab7d949f
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user