I want to scrape some data from a website. (I am using Rails and Nokogiri.) The site which I want to scrape is having lazy loading with a scroll event. But I have a problem with the url of ajax request.
The site uses a complex request : load_more?id=1837373&lastPostid=987984545
instead of a regular request like ?page=1
.
Is it possible to scroll down 2 times and fetch all data?
Thoughts?