I m using HTML parser Library for java here .
I m having a couple of problems , due to less documenation , depite that i suggest HTML parser fast , error prone code than the JSOUP (Jsoup is actually easy to use but easily to be irritated at your code :( )
Thankyou !
Get the tag "MyTag", you can also search for tag < meta >
Parser parser = new Parser();
parser.setInputHTML(MyHTML);
parser.setEncoding("UTF-8");
NodeList nl = parser.parse(null);
NodeList node_list= nl.extractAllNodesThatMatch(new TagNameFilter("MyTag"),true);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.