Home > Back-end >  Based on Java language Jousp parsing HTML consult operation
Based on Java language Jousp parsing HTML consult operation

Time:09-20

For big a problem! (based on Java language Jousp parsing HTML)
Is how to get all the herf value of a label under
Such as below the picture

A four herf is in the li tag;
Could you tell me how to get all these herf?
Document. GetElementsByTagName (" a ") [I] href this code only can get the first herf

CodePudding user response:

Is a href, got the wrong number
  • Related