Я использую HTTPClient и Jsoup, чтобы получить URL-адреса и перемещаться по страницам.У меня есть сценарий, где одна ссылка имеет 3 или 4 страницы, контролируемые нумерацией страниц.При отправке каждого номера публикуется действие, изменяется URL-адрес и выполняется навигация.Как я могу получить эти URL-адреса с главной страницы?
так устроена моя нумерация страниц в интерфейсе пользователя
<div class="pagination">
<div class="label">Page: </div>
<div class="button selected" onclick="$('.page-position', $(this).closest('form')).attr('value', $(this).html()); $(this).closest('form').submit();">1</div>
<div class="button " onclick="$('.page-position', $(this).closest('form')).attr('value', $(this).html()); $(this).closest('form').submit();">2</div>
<div class="button " onclick="$('.page-position', $(this).closest('form')).attr('value', $(this).html()); $(this).closest('form').submit();">3</div>
<div class="button" onclick="$('.page-position', $(this).closest('form')).attr('value', 2);$(this).closest('form').submit();">Next</div>
</div>