Extract image src using JSoup

后端 未结 3 1734
無奈伤痛
無奈伤痛 2021-01-12 16:50

I am trying to extract all the image url\'s from this webpage using jsoup? Can anyone offer help on how to do it? All the tags are formatted like this, but I only need the s

3条回答
  •  耶瑟儿~
    2021-01-12 17:22

    Document document = Jsoup.connect(" http://www.ncataggies.com/PhotoAlbum.dbml?DB_OEM_ID=24500&PALBID=417884").get();
    
            Elements elements =document.getElementsByTag("IMG");
            for(int i=0;i

提交回复
热议问题