We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What should be the selector for this kind of html code:
<h2>Firstname</h2> <p>John</p> <!--- some random html code, with random h2 tags --> <h2>Lastname</h2> <p>Doe</p>
I would like to fill this struct:
type Person struct { Firstname string `pagser:"h2[text=Firstname]+p"` Lastname string `pagser:"h2[text=Lastname]+p"` }
The text was updated successfully, but these errors were encountered:
Firstname string `pagser:"h2:contains('Firstname')+p"`
The selector library: https://github.com/PuerkitoBio/goquery
Sorry, something went wrong.
No branches or pull requests
What should be the selector for this kind of html code:
I would like to fill this struct:
The text was updated successfully, but these errors were encountered: