I have web page with strong ajax pagination (button for only next page). For go to page etc number 5, script should press button Next 5 times. But after script click - data for current page will lost.
It's possible return html content from Lua script to scrapy, and after this continue script run?
Now i use bad way. I merge html code for each page inside Lua script, and after last page i return it. But i think it's not good.