I have an app, that parses data from the website. The website does not have any API. At the end of page there is a button “load more”. This is the code of this button:
<a href="#" id="js-index_load_more_posts" class="b-load_more_posts_button" onclick="moreHandler.loadPosts(this, {'load_more' : true}); return false;">Load more</a>
How can I call this button from my app to load more data to parse it from the page later?
And what I should read about that for understanding this. Maybe some keywords for google search, because I didn’t find anything. Thanks.
You’ll need to parse out what the javaScript does, specifically
moreHandler.loadPosts. The easiest approach is to pull this site up in Chrome and use the JavaScript console to see what url requests are made to pull the additional information.