I am trying to find all or tags in one page/document. How can I use OR 相关标签: 1条回答 耶瑟儿~ 2021-01-19 05:54 The select method of JSoup implements more or less the CSS selector syntax. So you can very simply use the CSS way of specifying alternatives, i.e. using ,. This should work: doc.select("div.name1,div.name2"); 0 讨论(0) 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
or tags in one page/document. How can I use OR 相关标签: 1条回答 耶瑟儿~ 2021-01-19 05:54 The select method of JSoup implements more or less the CSS selector syntax. So you can very simply use the CSS way of specifying alternatives, i.e. using ,. This should work: doc.select("div.name1,div.name2"); 0 讨论(0) 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
tags in one page/document. How can I use OR 相关标签:
How can I use OR
OR
The select method of JSoup implements more or less the CSS selector syntax. So you can very simply use the CSS way of specifying alternatives, i.e. using ,. This should work:
,
doc.select("div.name1,div.name2");