Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Build in respect for robots.txt #6

@mgifford

Description

@mgifford

Because Purple Hats uses apify we can leverage this:
apify/crawlee#229 (comment)

and use the https://github.com/samclarke/robots-parser

And then evaluate using:

getRobotsTxt(url)
isAllowedRobotsTxt(url, ua)
isDisallowedRobotsTxt(url, ua)
getCrawlDelayRobotsTxt(ua)

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