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
I'm in a rather tricky situation because after numerous unsuccessful attempts and searches, I'm unable to retrieve the following element, which seems quite trivial. I'm trying to retrieve the string "2h43", but it doesn't seem to belong to any nodes. I've tried testing the outerHTML and the different siblings, but to no avail.
lethtml="<strong><u>Durée</u> : </strong>02h43<br>"
Here's my line that should work:letelement:Element=try doc.select("strong:contains(Durée)").first()!
letdurationText=try element.nextElementSibling()!.text()
The text was updated successfully, but these errors were encountered:
Hello,
I'm in a rather tricky situation because after numerous unsuccessful attempts and searches, I'm unable to retrieve the following element, which seems quite trivial. I'm trying to retrieve the string "2h43", but it doesn't seem to belong to any nodes. I've tried testing the outerHTML and the different siblings, but to no avail.
The text was updated successfully, but these errors were encountered: