i want to get the download url from https://www.java.com/de/download/manual.jsp for the offline installer x86 and x64 as a string. how can i do this?
i could get the page with file_get_contents();
$page = file_get_contents('https://www.java.com/de/download/manual.jsp');
which functions do i need to process the string?
i need this part of the source code:
<a title="Download der Java-Software für Windows Offline" href="http://javadl.sun.com/webapps/download/AutoDL?BundleId=113217">
Windows Offline</a>
and
<a title="Download der Java-Software für Windows (64-Bit)" href="http://javadl.sun.com/webapps/download/AutoDL?BundleId=113219">
Windows Offline (64-Bit)</a>
the problem is that the url might change after a version release.