protected override void ProcessAllPages(IEnumerable<string> pages, string filePattern, string targetFolder)
        {
            var pageDownloadService = new HvtcPageDownloadService();

            foreach (var pageLink in pages)
            {
                var options = new DownloadServiceOption()
                {
                    TargetFolder = targetFolder,
                    UrlsAndPatterns = new Dictionary<string, string>()
                    {
                        {pageLink, filePattern}
                    }
                };

                pageDownloadService.Download(options);
            }
        }
Ejemplo n.º 2
0
        protected override void ProcessAllPages(IEnumerable <string> pages, string filePattern, string targetFolder)
        {
            var pageDownloadService = new HvtcPageDownloadService();

            foreach (var pageLink in pages)
            {
                var options = new DownloadServiceOption()
                {
                    TargetFolder    = targetFolder,
                    UrlsAndPatterns = new Dictionary <string, string>()
                    {
                        { pageLink, filePattern }
                    }
                };

                pageDownloadService.Download(options);
            }
        }