The button I'm trying to press looks like:
<a data-hide="#mvc-paginate-acf46b3a1b68090c" data-append="true" data-container="#posts-container" class="hubmvc-ajax-get mvc-more btn btn-skel-generic" href="https://example.com/linear-box-load-more/?load_more=1&pg=2&limit=36&offset=14&additional_class=gems&ajax_hook=next_page&_wpnonce=8762751649&start_pg=1">View More</a>
I am trying to press it a number of times before scraping using BeautifulSoup. I tried using webdriver
from selenium
, but apparently it is no longer supported according to this answer: Scrape page with "load more results" button