jsoup times out, xml gets white space error, basic traversing through page is time consuming
- 阅读更多 关于 jsoup times out, xml gets white space error, basic traversing through page is time consuming
问题 I would like to make a program that parses the html page and selects useful information and displays it. I did it by opening a stream and then line by line searching for this appropriate content, but this is a time consuming process. So then I decided to do it by treating it as a xml and then using xpath. This I did by making a xml file on my system and loading the contents from the stream, and I got white space error, then I decide to direct open document as doc = (Document) builder.parse