As an exercise, I decided to write a python script that would get all the images of the specified user. I'm somewhat familiar with Scrapy, this is why I chose it as scraping tool. Currently the script is capable of downloading the images only from the first page (12 max).
according to robots.txt policy you should avvoid crawling
/query/ paths, so crawl carefully (and responsibly) on the user pagination.
Also from what I see pagination starts with a "Load more" request, that is in fact a
https://www.instagram.com/query/ request (that you need to check) with only two necessary values
end_cursor sent as a
Those values can be found in the original request body inside