Skip to content

querying for link[rel=icon] returns way too many nodes #19

Description

@ospfranco

As the title states when trying to get a documents favicon instead of getting a few items I get a lot of unrelated things, would you mind checking it?

// get the string html from https://www.youtube.com/watch?v=wuClZjOdT30
// expect to retrieve img/favicon_32-vflOogEID.png
doc.querySelect('link[rel=icon]') // returns like a 100 items

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