There is a site on the main page of which there is a search form.
<div class="formText"><input id="search_input" class="text ui-autocomplete-input" name="kp_query" autocomplete="off" maxlength="256" value="" tabindex="1" type="text"><span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span></div> <input class="searchButton1" value="" tabindex="2" onclick="if(!!document.getElementById('search_input').value && document.getElementById('search_input').value != 'поиск') {document.searchForm.first.value = 'no'; document.searchForm.submit();}" type="button"> The result of the search is a site page that will be parsed using Java tools. Actually the question is how to make a search request in Java and get the address of the page found? If possible, at least a few lines of code.
HttpURLConnection? Do not like it - I recommend theapache http client, If this one does not like it - look no further, I have not contacted others. Do not write the same for you request. - Sergey