Skip to content

Preserving order of selectors #205

@kotleta2007

Description

@kotleta2007

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions