I tried a lot but was not able to scrape any data from this website. is there any way to scrape data from this website? https://www.migros.com.tr/ I am using HTML and HTTP libraries in flutter.
class Scraper {
static void getData() async {
String URL = "https://www.migros.com.tr/";
final response = await http.get(Uri.parse(URL));
final body = response.body;
final html = parse(body);
final names = html.querySelectorAll('.product-name');
final images = html.querySelectorAll('.image >a >img');
print(images[1].atrributes['src'].trim());
print(names[1].text.trim());
}
}