Updated session token retrieval system to use Puppeteer to automatically log in and retrieve a token

This commit is contained in:
barelyprofessional
2024-06-13 20:07:41 +08:00
parent 3ef573be5c
commit 37ab1138ef
6 changed files with 129 additions and 66 deletions

View File

@@ -18,11 +18,12 @@ public class Models
public string? PusherProxy { get; set; }
public int KfReconnectTimeout { get; set; } = 30;
public int PusherReconnectTimeout { get; set; } = 30;
// Todo: Find a way to extract this from the browser as it's not valid forever
public string? XfTokenValue { get; set; }
// Because his shitty bot crashed and it's annoying not having notifications
public bool EnableGambaSeshDetect { get; set; } = true;
public int GambaSeshUserId { get; set; } = 168162;
public string KickIcon { get; set; } = "https://i.ibb.co/0cqwscx/kick.png";
public string KfDomain { get; set; } = "kiwifarms.st";
public required string KfUsername { get; set; }
public required string KfPassword { get; set; }
public string ChromiumPath { get; set; } = "chromium_install";
}
}