public static List<StringBuffer> getListFromIndexPage(StringBuffer page){
		
		try {
			Parser p = new Parser(page.toString());
			p.setEncoding("utf-8");
			NodeFilter filter = new HasAttributeFilter("data-curtab");
			NodeList list = p.extractAllNodesThatMatch(filter);
			
			System.out.println(list.size());
			
			List<StringBuffer> result = new ArrayList<StringBuffer>();
			for(int i=0;i<list.size();i ++){
				Node tmp = list.elementAt(i);
				TagNode tmptag = new TagNode();
				tmptag.setText(tmp.toHtml());
				
				System.out.println(tmptag.getAttribute("href"));
				
				result.add(new StringBuffer(tmptag.getAttribute("href")));
			}
			
			return result;
		} catch (ParserException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		return null;
	}