BurritoBug Posted July 2, 2016 Share Posted July 2, 2016 (edited) uses jsoup https://jsoup.org/download private int lookupPrice(String name) { try { Document doc = Jsoup.connect("http://2007.runescape.wikia.com/wiki/Exchange:" + name.replaceAll(" ", "_")).get(); Element price = doc.getElementById("GEPrice"); return Integer.parseInt(price.text()); } catch (Exception e) {} return 0; } Edited July 2, 2016 by BurritoBug 3 Quote Link to comment Share on other sites More sharing options...
deadmag3 Posted July 2, 2016 Share Posted July 2, 2016 ty bae Quote Link to comment Share on other sites More sharing options...