code: public List<SherdogBaseObject> parse(String url) throws IOException {
  
          Document document = ParserUtils.parseDocument(url);
  
          Elements select = document.select(".fightfinder_result tr");
  
  
          //removing the first one as it's the header
          if (select.size() > 0) {
              select.remove(0);
          }
  
          return select.stream()
                  .map(e ->
                          Optional.ofNullable(e.select("td"))
                                  //second element is the fighter name
                                  .filter(t -> t.size() > 1)
                                  .map(td -> td.get(1))
                                  .map(t -> t.select("a"))
                                  .filter(t -> t.size() == 1)
                                  .map(t -> {
  
                                      return t.get(0);
                                  })
                                  .map(t -> {
                                      //this could be either fighter or event
                                      SherdogBaseObject sherdogObject = new SherdogBaseObject();
                                      sherdogObject.setName(t.text());
                                      sherdogObject.setSherdogUrl(Constants.BASE_URL + t.attr("href"));
  
                                      return sherdogObject;
                                  })
                                  .filter(f -> f.getName() != null && f.getSherdogUrl() != null)
                                  .orElse(null)
  
                  )
                  .filter(f -> f != null)
                  .collect(Collectors.toList());
  
      }
docs: PArses a search page results
  
  @param url the search url
  @return the results