Closed GoogleCodeExporter closed 9 years ago
Can you explain more on how to use this code, I did put it in the HTMLParser
class, but how to actually make it work?
Original comment by H.Almere...@gmail.com
on 29 Oct 2011 at 4:35
It easy to use, something like show below:
String _sFileName = "./minzu/index.htm";
String htmlContent = CMyFile.readFile(_sFileName);
System.out.println(store.filterLink(htmlContent));
......
HTMLParser parse = new HTMLParser();
......
protected String filterLink(String htmlContent) {
Set<String> urls = parse.fetchOriginLinks(htmlContent);
for (String aLink : urls) {
.......
}
return htmlContent;
}
Original comment by wanxiang.xing@gmail.com
on 6 Nov 2011 at 9:43
[deleted comment]
This program is a dud. You can not get crawl links
Original comment by arijit.a...@gmail.com
on 22 Oct 2013 at 10:30
Not a bug or feature request
Original comment by avrah...@gmail.com
on 11 Aug 2014 at 12:45
Original issue reported on code.google.com by
wanxiang.xing@gmail.com
on 9 Apr 2011 at 5:45