public async Task <VideoViewModel> DownloadVideoMetadata(string videoAddress) { var model = await _yt.GetVideoMetadata(videoAddress); model = await _yt.DownloadMp3(model, BasePath); return(model); }
public async Task CanGetVideoMetadata() { // Arrange: // Act: var result = await _sut.GetVideoMetadata("https://www.youtube.com/watch?v=SoXFpP3-9gA"); // Assert: Assert.NotNull(result); }