it was working fine until today
even if I tried this simple code I got exception ==> WebScraperException
test() async {
final webScraper = WebScraper('https://webscraper.io');
if (await webScraper.loadWebPage('/test-sites/e-commerce/allinone')) { // exception here
List<Map<String, dynamic>> elements =
webScraper.getElement('h3.title > a.caption', ['href']);
print(elements);
}
}
@OverRide
void initState() {
super.initState();
test();
}
it was working fine until today
even if I tried this simple code I got exception ==> WebScraperException
test() async {
final webScraper = WebScraper('https://webscraper.io');
if (await webScraper.loadWebPage('/test-sites/e-commerce/allinone')) { // exception here
List<Map<String, dynamic>> elements =
webScraper.getElement('h3.title > a.caption', ['href']);
print(elements);
}
}
@OverRide
void initState() {
super.initState();
test();
}