// returns [{snippet ID, title}] static L search2(S query) { S page = loadPage(tb_mainServer() + "/tb/search.php?q=" + urlencode(query)); Matcher m = Pattern.compile(">(#\\d+) - (.*?)
").matcher(page); new L results; while (m.find()) results.add(new S[] {m.group(1), htmldecode(dropTags(m.group(2)))}); ret results; }