[REWORK] Changes saving client and channel info
This commit is contained in:
parent
9e173258ed
commit
5250b9f3f9
10 changed files with 201 additions and 153 deletions
|
|
@ -6,7 +6,7 @@ namespace Manager.YouTube.Parsers.Json;
|
|||
|
||||
public static class ChannelJsonParser
|
||||
{
|
||||
public static Result<Channel> ParseJsonToChannelData(string json)
|
||||
public static Result<InnertubeChannel> ParseJsonToChannelData(string json)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -23,7 +23,7 @@ public static class ChannelJsonParser
|
|||
throw new InvalidOperationException("No channel id found.");
|
||||
}
|
||||
|
||||
var channel = new Channel
|
||||
var channel = new InnertubeChannel
|
||||
{
|
||||
Id = channelId,
|
||||
ChannelName = channelMetadata.GetProperty("title").ToString(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue