link = "http://chiasenhac.com/" + HtmlUtil.getAttribute(str, "href=\"");
artist = HtmlUtil.htmlToText(in.readLine()).trim();
while (!(str = in.readLine()).contains("<span class=\"gen\">")){
}
info = HtmlUtil.htmlToText(str.replace("<br />", " | ")).trim();
ChiaSeNhacSong song = new ChiaSeNhacSong();
song.setTitle(title);
song.setArtist(artist);
song.setLink(link);
song.setQuality(info.contains("Lossless") ? Format.LOSSLESS : info.contains("320kbps") ? Format.MP3_320_KBPS : Format.MP3_128_KBPS);
song.description = info;
songs.add(song);
if (songs.size() == 25) break;
}
}