Some help scraping a page in Java
问题 I need to scrape a web page using Java and I've read that regex is a pretty inefficient way of doing it and one should put it into a DOM Document to navigate it. I've tried reading the documentation but it seems too extensive and I don't know where to begin. Could you show me how to scrape this table in to an array? I can try figuring out my way from there. A snippet/example would do just fine too. Thanks. 回答1: You can try jsoup: Java HTML Parser. It is an excellent library with good sample