protected override void ProcessAllPages(IEnumerable <string> pages, string filePattern, string targetFolder) { var pageDownloadService = new DhtnmthcmPageDownloadService(); foreach (var pageLink in pages) { var options = new DownloadServiceOption() { TargetFolder = targetFolder, UrlsAndPatterns = new Dictionary <string, string>() { { pageLink, filePattern } } }; pageDownloadService.Download(options); } }
protected override void ProcessAllPages(IEnumerable<string> pages, string filePattern, string targetFolder) { var pageDownloadService = new DhtnmthcmPageDownloadService(); foreach (var pageLink in pages) { var options = new DownloadServiceOption() { TargetFolder = targetFolder, UrlsAndPatterns = new Dictionary<string, string>() { {pageLink, filePattern} } }; pageDownloadService.Download(options); } }