Skip to content

Unable to get html element dc:language #281

Description

@barun511

As title says, apparently we don't support the pseudoclass language, but as all I want to do is get the XML element corresponding to it, I'm forced to do a really ugly hack that replaces dc:language with something, finds the thing I want, and then unreplaces it.

        let lang_selector = Selector::parse("dc:language").unwrap();

called `Result::unwrap()` on an `Err` value: UnexpectedSelectorParseError(UnsupportedPseudoClassOrElement("language"))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions