/// <summary>
 /// Download an entire site.
 /// </summary>
 /// <param name="config">The spider configuration file to use.</param>
 /// <param name="baseHost">The URL to start from.</param>
 /// <param name="local">The local path to save files to.</param>
 public void Download(String config, Uri baseHost, String local)
 {
     WorldSpiderReport report = new WorldSpiderReport(local);
     SpiderOptions options = new SpiderOptions();
     options.Load(config);
     Spider spider = new Spider(options, report);
     spider.AddURL(baseHost, null, 1);
     spider.Process();
     Console.WriteLine(spider.Status);
 }
        /// <summary>
        /// Download an entire site.
        /// </summary>
        /// <param name="config">The spider configuration file to use.</param>
        /// <param name="baseHost">The URL to start from.</param>
        /// <param name="local">The local path to save files to.</param>
        public void Download(String config, Uri baseHost, String local)
        {
            WorldSpiderReport report  = new WorldSpiderReport(local);
            SpiderOptions     options = new SpiderOptions();

            options.Load(config);
            Spider spider = new Spider(options, report);

            spider.AddURL(baseHost, null, 1);
            spider.Process();
            Console.WriteLine(spider.Status);
        }