Given a HTML website which displays a temperature outside and other unimportant peaces of information:
<div style="">15</div>
15 - is my destination number, which I want to extract as a variable.
Now what I want to do is, that Java program will go to the website, search for the particular HTML code line (temperature=15;) and after it is found, it must display it like this: https://i.stack.imgur.com/lY0qi.jpg
All I want to know, what syntax should I use to let program request that number.