Example #1
0
 public static WebGrabber GetWebGrabberInstance(string url)
 {
     WebGrabber grabber = new WebGrabber(url);
     grabber.UserAgent = PluginSettings.UserAgent;
     grabber.MaxRetries = PluginSettings.WebMaxRetries;
     grabber.Timeout = PluginSettings.WebTimeout;
     grabber.TimeoutIncrement = PluginSettings.WebTimeoutIncrement;
     return grabber;
 }
Example #2
0
 public static WebGrabber GetWebGrabberInstance(string url)
 {
     WebGrabber grabber = new WebGrabber(url);
     grabber.UserAgent = PluginSettings.UserAgent;
     grabber.MaxRetries = PluginSettings.WebMaxRetries;
     grabber.Timeout = PluginSettings.WebTimeout;
     grabber.TimeoutIncrement = PluginSettings.WebTimeoutIncrement;
     return grabber;
 }