mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-08-31 17:56:53 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user