settle out what button is sometimes doing?

I am attempting to scrap some information from amazon-indulge in web page. It has two modes of showing stutter,

aggregated – all identical merchandise with varied ticket are below one hyperlink

single – all merchandise are separate

There's button that adjustments one thought to the assorted. I desire to scrap hyperlinks from aggregated thought but single thought is default. I already checked and recordsdata from aggregated thought are not already on the positioning. I figured out that after clicking the button website sends inquire of to a couple .js recordsdata with GET after which will get the identical website but with aggregated thought. I am no educated in scraping but I’d truly spend to fetch offer of the aggregated thought. How can I settle out what exactly is happening and the blueprint can I simulate it as an instance with scrapy?