code: def agent(self):
          
          try:
              if self._data_from_search:
                  agent = self._data_from_search.find(
                      'ul', {'class': 'links'}).text
                  return agent.split(':')[1].strip()
              else:
                  return self._ad_page_content.find('a', {'id': 'smi-link-branded'}).text.strip()
          except Exception as e:
              if self._debug:
                  logging.error(
                      "Error getting agent. Error message: " + e.args[0])
              return
docs: This method returns the agent name.
          :return: