feat: We have improved the search and download logic for NetEase Cloud Music playlists and added support for logging in.

This commit is contained in:
real-zony
2023-03-12 23:19:27 +08:00
parent afe1a7013c
commit b916323986
8 changed files with 146 additions and 9 deletions

View File

@@ -2,6 +2,7 @@ using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using QRCoder;
using Shouldly;
using Xunit;
using ZonyLrcTools.Common.Infrastructure.IO;
@@ -27,5 +28,14 @@ namespace ZonyLrcTools.Tests
File.Delete(tempMusicFilePath);
}
[Fact]
public void TestConsole()
{
QRCodeGenerator qrGenerator = new QRCodeGenerator();
QRCodeData qrCodeData = qrGenerator.CreateQrCode("https://y.music.163.com/m/login?codekey=2f0da1d0-759e-478b-9153-35058b3", QRCodeGenerator.ECCLevel.L);
AsciiQRCode qrCode = new AsciiQRCode(qrCodeData);
string qrCodeAsAsciiArt = qrCode.GetGraphic(1, drawQuietZones: false);
}
}
}