[CHANGE] Cookie login fixed
This commit is contained in:
@@ -44,7 +44,7 @@ public class ClientManager : BackgroundService
|
||||
var ytClient = new YouTubeClient();
|
||||
//ytClient.CookieContainer = container;
|
||||
ytClient.UserAgent = accountEntity.UserAgent;
|
||||
await ytClient.GetStateAsync();
|
||||
await ytClient.BuildClientAsync();
|
||||
|
||||
return ytClient;
|
||||
}
|
||||
|
Reference in New Issue
Block a user