Regular Expressions vs XPath when parsing HTML text

后端 未结 4 645
情书的邮戳
情书的邮戳 2021-01-19 18:12

I want to parse a HTML text and find special parts. For example a text in 3rd div of 1st row and 2nd column of a table. I

4条回答
  •  时光说笑
    2021-01-19 18:56

    XPath is less likely to break if the web developer does any minor changes. That would be my choice.

提交回复
热议问题