예제 #1
0
        public async Task ChooseBestVideo()
        {
            IEnumerable <VideoInfo> videoInfos = await DownloadUrlResolver.GetDownloadUrlsAsync("https://www.youtube.com/watch?v=vxMxYgkUcdU");

            var downloader = new VideoDownloader();

            Assert.IsNotNull(downloader.ChooseBest(videoInfos));
        }