You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be useful to be able to use selectFirst() and expectFirst() on org.jsoup.select.Elements instances to mirror the methods in org.jsoup.nodes.Element.
As far as I understand this is because org.jsoup.select.Selector provides both select(String, Element) and select(String, Iterable<Element>) but only selectFirst(String, Element).
I could take a look at it myself, but people knowledgeable about jsoup internals would probably take much less time.
Bonus points if it's actually faster than select(...).first() 😉
Thanks for your work
The text was updated successfully, but these errors were encountered:
It'd be useful to be able to use
selectFirst()
andexpectFirst()
onorg.jsoup.select.Elements
instances to mirror the methods inorg.jsoup.nodes.Element
.As far as I understand this is because
org.jsoup.select.Selector
provides bothselect(String, Element)
andselect(String, Iterable<Element>)
but onlyselectFirst(String, Element)
.I could take a look at it myself, but people knowledgeable about jsoup internals would probably take much less time.
Bonus points if it's actually faster than
select(...).first()
😉Thanks for your work
The text was updated successfully, but these errors were encountered: