This script works by first loging into an Instagram account and then search for only the posts that contain at least one of the keywords provided to the script by the command line in their description, it uses Selenium to do so.
Usage: instacraper.py <page_id> <bot_uname> <bot_pwd> <post_count> <keywords...>
page_id: Instagram account's username or id(ex. bbc)
bot_uname: Your instagram account's username, email or id
bot_pwd: Your instagram account's password
post_count: Number of posts that should be examined
keywords: Any number of keywords to search for in post'sdescription(ex. breaking 'breaking news')