detiktoker should work
This commit is contained in:
parent
4cf83afab8
commit
fa48d9695f
@ -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);
|
||||
|
@ -2,6 +2,5 @@
|
||||
"token": "59 chars",
|
||||
"botChatterChannel": 0,
|
||||
"announcementChannel": 0,
|
||||
"ytdl": "youtube-dl",
|
||||
"content_wasteland": "./"
|
||||
"ytdl": "youtube-dl"
|
||||
}
|
Loading…
Reference in New Issue
Block a user