code: def get_profile_media(profile, page = 0):
      
      try:
          edges = profile['entry_data']['ProfilePage'][page]['graphql']['user']['edge_owner_to_timeline_media']['edges']
          return [edge['node'] for edge in edges]
      except KeyError:
          logging.exception("path to profile media not found")
docs: Parse a generated media object
      :param profile:
      :param page:
      :return: