public Scraper(ITermRepository termRepo, IProfessorRepository profRepo, IDepartmentRepository departmentRepo, IEntryRepository entryRepo, ICourseRepository courseRepo, IHtmlClient htmlClient) { Terms = termRepo; Professors = profRepo; HtmlClient = htmlClient; Departments = departmentRepo; Courses = courseRepo; Entries = entryRepo; Errors = new ConcurrentBag <Exception>(); }
public ScraperEnv(IHtmlClient?htmlClient = null) { _htmlClient = htmlClient ?? new HtmlClient(); }
public ParserFactory(IHtmlClient client) { _client = client; }