Ejemplo n.º 1
0
 protected override void ExecuteTask()
 {
     WebSiteDownloaderOptions options;
     WebSiteDownloader downloader;
     foreach (SpiderUrl spiderUrl in SpiderUrls)
     {
         options = spiderUrl.Options;
         options.DestinationFolderPath = new DirectoryInfo(this.DestinationFolderPath);
         downloader = new WebSiteDownloader(options);
         downloader.Process();
     }
 }