public ScrapyClient(ScrapyOptions options) { _options = options; if (!string.IsNullOrEmpty(options.Path)) { if (!Directory.Exists(options.Path)) { Directory.CreateDirectory(options.Path); } } }
public ScrapyClient() : this(ScrapyOptions.GetDefault()) { }