[CHANGE] Reworked cipher stuff

This commit is contained in:
max
2025-10-24 21:16:08 +02:00
parent a84195aefa
commit b5c701b971
8 changed files with 92 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
using Manager.YouTube.Util.Converters;
namespace Manager.YouTube.Models.Innertube;
@@ -8,6 +9,7 @@ public class StreamingData
[JsonPropertyName("expiresInSeconds")]
public int ExpiresInSeconds { get; set; }
[JsonPropertyName("serverAbrStreamingUrl")]
[JsonConverter(typeof(JsonUrlEscapeConverter))]
public string ServerAbrStreamingUrl { get; set; } = "";
[JsonPropertyName("formats")]
public List<StreamingFormat> Formats { get; set; } = [];