/// <summary> /// Creates a new scraper for the Zoho KB. /// </summary> /// <param name="url">URL of the Zoho KB that contains a list of articles</param> /// <param name="requester">Class used to perform the HTTP requests.</param> /// <param name="articleLoader">Class responsible for parsing the HTML of the site</param> public Scraper(string url, ArticleLoader articleLoader, ISiteRequester requester = null) { Url = url; ArticleLoader = articleLoader; _requester = requester ?? new HttpSiteRequester(); }
internal Article(Scraper scraper, ArticleLoader articleLoader) { _scraper = scraper; _articleLoader = articleLoader ?? throw new ArgumentNullException(nameof(articleLoader)); }