mardi 22 novembre 2016

jsoup output in angularjs web

doc = Jsoup.connect("http://ift.tt/2ghMlma").get();
Element element = doc.select("div.product-card a").first();
Elements elements = element.getElementsByAttribute("href");
for (Element e:elements) {
 System.out.println("url: " + e.attr("href"));
 System.out.println("text: " + e.text());
}

output:

url:

text: Grosir - ≥ PO

this web using angularjs(version 1) for froent-end. when i try web without angularjs, it's work well.

questions: what the happen? how can i fix that?

thanks...




Aucun commentaire:

Enregistrer un commentaire