mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-08-31 17:56:53 +00:00
feat(Test NetEaseMusic's Romance lyrics.):
This commit is contained in:
@@ -8,9 +8,9 @@ namespace ZonyLrcTools.Cli.Infrastructure.Lyric.NetEase.JsonModel
|
|||||||
{
|
{
|
||||||
public GetLyricRequest(long songId)
|
public GetLyricRequest(long songId)
|
||||||
{
|
{
|
||||||
OS = "osx";
|
OS = "ios";
|
||||||
Id = songId;
|
Id = songId;
|
||||||
Lv = Kv = Tv = -1;
|
Lv = Kv = Tv = Rv = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -30,5 +30,9 @@ namespace ZonyLrcTools.Cli.Infrastructure.Lyric.NetEase.JsonModel
|
|||||||
[JsonProperty("kv")] public int Kv { get; }
|
[JsonProperty("kv")] public int Kv { get; }
|
||||||
|
|
||||||
[JsonProperty("tv")] public int Tv { get; }
|
[JsonProperty("tv")] public int Tv { get; }
|
||||||
|
|
||||||
|
[JsonProperty("rv")] public int Rv { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("crypto")] public string Protocol { get; set; } = "api";
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -22,6 +22,12 @@ namespace ZonyLrcTools.Cli.Infrastructure.Lyric.NetEase.JsonModel
|
|||||||
[JsonProperty("tlyric")]
|
[JsonProperty("tlyric")]
|
||||||
public InnerLyric TranslationLyric { get; set; }
|
public InnerLyric TranslationLyric { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 如果存在罗马音歌词,则本项内容为罗马音歌词。
|
||||||
|
/// </summary>
|
||||||
|
[JsonProperty("romalrc")]
|
||||||
|
public InnerLyric RomaLyric { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 状态码。
|
/// 状态码。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@@ -43,6 +43,8 @@ namespace ZonyLrcTools.Cli.Infrastructure.Lyric.NetEase.JsonModel
|
|||||||
[JsonProperty("limit")]
|
[JsonProperty("limit")]
|
||||||
public int Limit { get; set; }
|
public int Limit { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("crypto")] public string Crypto { get; set; } = "weapi";
|
||||||
|
|
||||||
public SongSearchRequest()
|
public SongSearchRequest()
|
||||||
{
|
{
|
||||||
CsrfToken = string.Empty;
|
CsrfToken = string.Empty;
|
||||||
|
Reference in New Issue
Block a user