mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2026-11-01 00:42:12 +08:00
fix: Fixed an issue with netease music downloader.
This commit is contained in:
1 parent
c655ac4cbb
commit
3b0f9fa89b
1 file changed
+1
-1
@@ -59,7 +59,7 @@ namespace ZonyLrcTools.Cli.Infrastructure.Lyric.NetEase
|
||||
await ValueTask.CompletedTask;
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user