public string GetTitle() { LazyLoadHtmlSource(); var titleExtractor = new YouTubeSourceAnalyzer(_youtubeSource); return titleExtractor.ExtractTitle(); }
public void DownloadAsync(string destinationFilepath) { LazyLoadHtmlSource(); var linkExtractor = new YouTubeSourceAnalyzer(_youtubeSource); string videoLink = linkExtractor.ExtractDirectDownloadLink(); _internalDownloader.DownloadFileAsync(new Uri(videoLink), destinationFilepath); }