Skip to content

query_selector cannot parse meta[property=og:title] #46

Description

@mehmetcansahin

Hi,
I cannot parse meta[property=og:title]. But alternatively I found this solution meta[property*=title]. What could I be doing wrong?

let node_option = self
            .dom
            .query_selector("meta[property=og:title]") or .query_selector(r#"meta[property="og:title"]"#)
            .and_then(|mut iter| iter.next());

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions