Skip to content

FetchNodeLevelK is not filtering out mailto: links.  #861

@Kilowhisky

Description

@Kilowhisky

I'm trying to use the new DepthSearchGraph and it appears to be misfiring by trying to follow email links in hrefs. It should filter out non web links.

  • mailto:
  • tel:

See other schemes that should probably be filtered out: https://www.w3.org/wiki/UriSchemes

https://github.com/ScrapeGraphAI/Scrapegraph-ai/blob/96064f20ee8a849a2548f293419cf9028386c47b/scrapegraphai/nodes/fetch_node_level_k.py#L155C16-L158

EDIT:

It also goes boom navigating javascript links.

- navigating to "javascript:void(0)", waiting until "domcontentloaded"

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