detiktoker should work

This commit is contained in:
Adam R. Grey 2021-08-29 05:00:46 -04:00
parent 4cf83afab8
commit fa48d9695f
2 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,8 @@ namespace silverworker_discord
var ytdl = new YoutubeDLSharp.YoutubeDL();
ytdl.YoutubeDLPath = config["ytdl"];
ytdl.FFmpegPath = "ffmpeg";
ytdl.OutputFolder = config["content_wasteland"];
ytdl.OutputFolder = "";
ytdl.OutputFileTemplate = "tiktokbad.%(ext)s";
var res = await ytdl.RunVideoDownload(link.ToString());
string path = res.Data;
await channel.SendFileAsync(path);

View File

@ -2,6 +2,5 @@
"token": "59 chars",
"botChatterChannel": 0,
"announcementChannel": 0,
"ytdl": "youtube-dl",
"content_wasteland": "./"
"ytdl": "youtube-dl"
}