def get_profile_media(profile, page = <NUM_LIT:0>):
try:<EOL><INDENT>edges = profile['<STR_LIT>']['<STR_LIT>'][page]['<STR_LIT>']['<STR_LIT:user>']['<STR_LIT>']['<STR_LIT>']<EOL>return [edge['<STR_LIT>'] for edge in edges]<EOL><DEDENT>except KeyError:<EOL><INDENT>logging.exception("<STR_LIT>")<EOL><DEDENT>
Parse a generated media object
:param profile:
:param page:
:return: