public void SetUp() { this.spider = new Spider(); this.spider.AddBehavior(new DelayBehavior(TimeSpan.FromSeconds(10))); this.spider.TimeOut = 8; }
public void SetUp() { this.spider = new Spider(); this.spider.AddBehavior(new CookieBehavior("PREF", "cookie-information")); }
public void SetUp() { this.spider = new Spider(); }
public void Constructor_ThrowsExceptionWhenFinalIntervalLessThanInitialInterval() { this.spider = new Spider(); this.spider.AddBehavior(new RandomDelayBehavior(TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(1))); }
public void SetUp() { this.spider = new SynchronizedSpider(); }
public Engine(IEngineConfiguration configuration) { this.parser = configuration.Parser; this.urlBuilder = configuration.UrlBuilder; this.spider = configuration.Spider; }