Images and videos are saved as.jpg and .mp4 files. Information on the number of likes (for .jpg), views (for .mp4), and titles are saved and exported as a separate .csv file.
# Scrap the Instagram Profile of comedians Joe Rogan and Bert Kreischer
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
indo = InstagramDownloader(
dir_path=os.path.join(BASE_DIR, 'imgs_stats'), max_posts=5)
indo.download_profile('joerogan')
indo.download_profile('bertkreischer')
Follow instructions from here to install the Selenium WebDriver and the geckodriver for FireFox.
To avoid having to log in you should also install the Instagram-guest Addon on the Selenium browser. If you have FireFox and the addon installed this should be done automatically. Otherwise, you want to update the lines 177-8 in the .py file.