WebScraper constructor
WebScraper([
- String? baseUrl
Creates the web scraper instance.
Implementation
WebScraper([String? baseUrl]) {
if (baseUrl != null) {
var v = Validation().isBaseURL(baseUrl);
if (!v.isCorrect) {
throw WebScraperException(v.description);
}
this.baseUrl = baseUrl;
}
}