In this video tutorial, we covered how to scrape Instagram image and video posts. The JSON provided by Instagram for album/carousel posts is a little different. Let’s take a look at an Instagram album post such as https://www.instagram.com/p/CBIvNwGB2IX/. By appending ?__a=1 to the URL ( so it becomes https://www.instagram.com/p/CBIvNwGB2IX/?__a=1 ), we can get the JSON. Within the JSON, there is a property called edge_sidecar_to_children which has a list called edges. By looping over the edges list, we can get the link to each image or video within the post. Check out the video tutorial and full source code below: