mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-07-01 20:30:41 +00:00
fix: Fixed an issue with netease music downloader.
This commit is contained in:
parent
c655ac4cbb
commit
3b0f9fa89b
@ -59,7 +59,7 @@ namespace ZonyLrcTools.Cli.Infrastructure.Lyric.NetEase
|
|||||||
await ValueTask.CompletedTask;
|
await ValueTask.CompletedTask;
|
||||||
|
|
||||||
var json = JsonConvert.DeserializeObject<GetLyricResponse>(Encoding.UTF8.GetString(data));
|
var json = JsonConvert.DeserializeObject<GetLyricResponse>(Encoding.UTF8.GetString(data));
|
||||||
if (json?.OriginalLyric == null)
|
if (json?.OriginalLyric == null || string.IsNullOrEmpty(json.OriginalLyric.Text))
|
||||||
{
|
{
|
||||||
return new LyricItemCollection(null);
|
return new LyricItemCollection(null);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user