List<String> resList = new ArrayList<String>();
Element tableE = doc.getElementsByClass("group_buy").get(0);
Elements trs = tableE.getElementsByTag("tr");
for (int m = 1,len=trs.size();m<len;m++) {
Element element = trs.get(m);
if ("public".equals(element.child(0).child(1).attr("class"))) {
//resList.add("http://caipiao.163.com"+element.child(8).child(1).attr("href"));
if(onsale){
resList.add(element.child(8).child(0).attr("lotoorder"));
}else{
String href = element.child(7).child(0).attr("href");