mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-09-06 13:46:53 +00:00
feat: Completed the QQ music lyrics downloader.
完成了 QQ 音乐歌词下载器。
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ZonyLrcTools.Cli.Infrastructure.Lyric.QQMusic.JsonModel
|
||||
{
|
||||
public class GetLyricRequest
|
||||
{
|
||||
[JsonProperty("nobase64")] public int IsNoBase64Encoding { get; set; }
|
||||
|
||||
[JsonProperty("songmid")] public string SongId { get; set; }
|
||||
|
||||
[JsonProperty("platform")] public string ClientPlatform { get; set; }
|
||||
|
||||
[JsonProperty("inCharset")] public string InCharset { get; set; }
|
||||
|
||||
[JsonProperty("outCharset")] public string OutCharset { get; set; }
|
||||
|
||||
[JsonProperty("g_tk")] public int Gtk { get; set; }
|
||||
|
||||
protected GetLyricRequest()
|
||||
{
|
||||
}
|
||||
|
||||
public GetLyricRequest(string songId)
|
||||
{
|
||||
IsNoBase64Encoding = 1;
|
||||
SongId = songId;
|
||||
ClientPlatform = "yqq";
|
||||
InCharset = "utf8";
|
||||
OutCharset = "utf-8";
|
||||
Gtk = 5381;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user