Looking at the Documentation on the website I see:
Elements resultLinks = doc.select("h3.r > a");
It seems to work from left to right, so it first selects each h3
and then selects the ones h3
that have after them a
.
Looking at the code seems to confirm this.
source
to share