[CHANGE] Add account dialog
This commit is contained in:
@@ -41,7 +41,9 @@ public class ClientManager : BackgroundService
|
||||
container.Add(cookieColl);
|
||||
}
|
||||
|
||||
var ytClient = new YouTubeClient(container, accountEntity.UserAgent ?? "");
|
||||
var ytClient = new YouTubeClient();
|
||||
//ytClient.CookieContainer = container;
|
||||
ytClient.UserAgent = accountEntity.UserAgent;
|
||||
await ytClient.GetStateAsync();
|
||||
|
||||
return ytClient;
|
||||
|
Reference in New Issue
Block a user