Skip to content

How would one know if got-scraping has been blocked? #61

Description

@JaneJeon

Somewhat of a vague and broad question, but still would be interested in knowing even where to begin looking for this sort of thing (#34 inspired this question).

Suppose we're using got-scraping not even for scraping, but to reliably connect to arbitrary websites (my specific use case is getting the canonical URL).

From my testing, got-scraping does pretty well against real-world websites (even with well-known "cloud IP"). However, I have to assume that at certain point, it will get blocked by some anti-bot software (e.g. cloudflare), and I'd like to know whether I got blocked vs. whether the resource simply failed to load.

How would one go about detecting that you've been blocked using got-scraping (or just got in general)?

Thanks and a happy new year

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