code: def sub_base_uri(self):
          
          return self.base_uri and self.base_uri.split('://')[-1].split('.')[
              0] or self.base_uri
docs: This will return the sub_base_uri parsed from the base_uri
          :return: str of the sub_base_uri