Skip to content
New issue

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

Preserving order of selectors #205

Open
kotleta2007 opened this issue Apr 16, 2024 · 0 comments
Open

Preserving order of selectors #205

kotleta2007 opened this issue Apr 16, 2024 · 0 comments

Comments

@kotleta2007
Copy link

When I use pup to parse multiple types of selectors, like

curl URL | pup 'h1,h2,h3'

it lists all the h1 elements, followed by all the h2s and h3s.

Is there a way to keep the initial ordering of the elements as they appear in the HTML?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant