Exemple #1
0
        private static async Task TestGetArtistPages()
        {
            ChiaSeNhacVN downloader = new ChiaSeNhacVN("ngocson");

            var obj = await downloader.GetArtistPages("https://chiasenhac.vn/ca-si/Ngoc-Son~Y3NuX2FydGlzdH4xMDYxMQ==.html");

            //obj.Print();
            await downloader.DownloadList(obj.Pages.ToList());

            // await downloader.DownloadFile(obj.LosslessFile);
        }
Exemple #2
0
        private static async Task TestGetAlbumPage()
        {
            var url = "https://chiasenhac.vn/playlist/Nhac-Tre-Nhe-Nhang-Sau-Lang~Y3NuX3BsYXlsaXN0fjEwNTM=.html";

            ChiaSeNhacVN downloader = new ChiaSeNhacVN("nhac-tre")
            {
                Threads = 5
            };

            var obj = await downloader.GetAlbumPages(url);

            obj.Print();
            await downloader.DownloadList(obj.Pages.ToList(), null);
        }