Using java to extract a single value from an html page:
问题 I am continuing work on a project that I've been at for some time now, and I have been struggling to pull some data from a website. The website has an iframe that pulls in some data from an unknown source. The data is in the iframe in a tag something like this: <DIV id="number_forecast"><LABEL id="lblDay">9,000</LABEL></DIV> There is a BUNCH of other crap above it but this div id / label is totally unique and is not used anywhere else in the code. 回答1: jsoup is probably what you want, it