private void scrapeSearchResults(String site) {
        ArrayList<AnimeSearchResult> animeList = new ArrayList<AnimeSearchResult>();
        try {
            Document doc = Jsoup.parse(site);

            if (doc.select("div:containsOwn(No titles that matched your query were found.)").size() == 1) {
                return;
            }

            Elements resultsTable = doc.select("div#content div:eq(1) table");
            Elements resultsRows = resultsTable.select("tr");
            for (Element e: resultsRows) {
                Elements animeTitleNode = e.select("td a strong");
                if (animeTitleNode.size() == 0) {
                    continue;
                }

                AnimeSearchResult anime = new AnimeSearchResult();
                anime.setTitle(animeTitleNode.text());

                Element urlNode = animeTitleNode.parents().first();
                String url = urlNode.attr("href");
                String pattern = "http://myanimelist.net/(\\w+)/(\\d+)/?.*";
                Pattern p = Pattern.compile(pattern);
                Matcher m = p.matcher(url);
                if (m.find()) {
                    anime.setId(Integer.valueOf(m.group(2)));
                }

                Element imageNode = e.select("td a img").first();
                anime.setThumbUrl(imageNode.attr("src"));
                anime.setImageUrl(Utility.imageUrlFromThumbUrl(anime.getThumbUrl(), 't'));

                Elements tableCellNodes = e.select("td");

                String episodeCount = tableCellNodes.get(3).text();
                if (!episodeCount.matches(".*-.*")) {
                   anime.setEpisodes(Integer.valueOf(episodeCount));
                }

                String membersScore = tableCellNodes.get(4).text();
                if (!membersScore.matches(".*-.*")) {
                    anime.setMembersScore(Float.valueOf(membersScore));
                }
                anime.setType(tableCellNodes.get(2).text());

                // TO DO - parse dates into date type
                // dates may be hyphened
                String startDate = tableCellNodes.get(5).text();
                String endDate = tableCellNodes.get(6).text();
                if (tableCellNodes.size() > 8) {
                    anime.setClassification(tableCellNodes.get(8).text());
                }
                animeList.add(anime);
            }
            Object[] array = animeList.toArray();
            searchResults = Arrays.copyOf(array, array.length, AnimeSearchResult[].class);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }