[CHANGE] Implementing video fetching and deciphering
This commit is contained in:
36
Manager.YouTube/Models/YouTubeVideo.cs
Normal file
36
Manager.YouTube/Models/YouTubeVideo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using Manager.YouTube.Models.Innertube;
|
||||
|
||||
namespace Manager.YouTube.Models;
|
||||
|
||||
public class YouTubeVideo
|
||||
{
|
||||
public required string VideoId { get; set; }
|
||||
public string Title { get; set; } = "";
|
||||
public string Description { get; set; } = "";
|
||||
public string[] HashTags { get; set; } = [];
|
||||
public long ViewCount { get; set; }
|
||||
public long LikeCount { get; set; }
|
||||
public string ChannelId { get; set; } = "";
|
||||
public string Author { get; set; } = "";
|
||||
public string PlayabilityStatus { get; set; } = "";
|
||||
public long LengthSeconds { get; set; }
|
||||
public bool AllowRating { get; set; }
|
||||
public bool IsCrawlable { get; set; }
|
||||
public bool IsPrivate { get; set; }
|
||||
public bool IsUnpluggedCorpus { get; set; }
|
||||
public bool IsLive { get; set; }
|
||||
public bool IsFamiliySave { get; set; }
|
||||
public string[] AvailableCountries { get; set; } = [];
|
||||
public bool IsUnlisted { get; set; }
|
||||
public bool HasYpcMetadata { get; set; }
|
||||
public DateTime PublishDate { get; set; }
|
||||
public DateTime UploadDate { get; set; }
|
||||
public bool IsShortsEligible { get; set; }
|
||||
public string Category { get; set; } = "";
|
||||
|
||||
public StreamingData StreamingData { get; set; } = new();
|
||||
public List<WebImage> Thumbnails { get; set; } = [];
|
||||
|
||||
public PlayerConfig? PlayerConfig { get; set; }
|
||||
public StoryBoard? StoryBoard { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user