Library used: https://pypi.org/project/instaloader/
This code aims to achieve three objectives related to Instagram:
Profile Details Search: This feature allows you to scrape and retrieve information about a specific public Instagram profile.
Top Related Search (Profiles and Hashtags): With this functionality, you can automate the process of searching for top related profiles and hashtags based on a given input.
Download Posts of a Public Account: This feature enables you to automate the process of downloading posts from a public Instagram account. By providing the username of the account, you can scrape and download the posts, including images and videos, for offline access or further analysis.