code: def instagram_profile_js(username):
      
      try:
          tree = instagram_scrap_profile(username)
          return tree.xpath('//script')
      except AttributeError:
          logging.exception("scripts not found")
          return None
docs: Retrieve the script tags from the parsed page.
      :param username:
      :return: