List of posts which are offline but not online (i.e. It outputsĪ list of posts which are online but not offline (i.e. This script uses Instaloader to obtain a list of currently-online Instagram andĬompares it with the set of posts that you already have downloaded. Profile.get_followers(), Instaloader.load_session_from_file(),ĭiscussed in Issue #120. See also Profile.get_posts(), Post.get_likes(), get_followers ()) ghosts = followers - likes print ( 'Storing ghosts into file.' ) with open ( 'inactive-users.txt', 'w' ) as f : for ghost in ghosts : print ( ghost. context, PROFILE ) likes = set () print ( 'Fetching likes of all posts of profile. load_session_from_file ( USER ) profile = instaloader. Instaloader () USER = 'your_account' PROFILE = USER # Load session previously saved with `instaloader -l USERNAME`: L.