I'm building a scraper app and i need to get image from the website. The problem is that when i fetch the page i'm getting default image(image that appears before the page ends up loading). The real image is displayed instead of it (same HTML path but different URL source )by Javascrip at the end of loading.
this is my snippet
public class Scapper{
public static void main(String[] args) throws IOException {
Document doc= Jsoup.connect(Url).get();
for (Element img : doc.getElementsByClass("prdct-dtl__thmbnl-wrpr").select(".prdct-dtl__thmbnl").select("img[src]")){
String url = img.absUrl("src");
System.out.println("Founded"+url);
}}}
Update [This is the link to the website][1]
[1]:
I need only the phone's images links