Skip to content

Strategies for blocked ips #2940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
moadennagi opened this issue Jul 20, 2024 · 1 comment
Closed

Strategies for blocked ips #2940

moadennagi opened this issue Jul 20, 2024 · 1 comment
Labels
question Someone is looking for answers

Comments

@moadennagi
Copy link

This is not an issue, more of a general question, I own a website, I have a system for blocking ips with a certain number of requests in a minute.
Is it possible to work around this system ?

@mdmintz
Copy link
Member

mdmintz commented Jul 20, 2024

To get past an IP-block, you must change your IP Address.
Use the proxy arg to route traffic through a proxy server.

Supported proxy formats:

  • proxy="user:pass@ip:port"
  • proxy="ip:port"

(ip can be an IP Address or a domain)

You can also rotate proxy servers by using pytest parameterization: #2450 (comment)

(Naturally, you'll need to provide your own proxy server connection details for this.)

@mdmintz mdmintz added the question Someone is looking for answers label Jul 20, 2024
@mdmintz mdmintz closed this as completed Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Someone is looking for answers
Projects
None yet
Development

No branches or pull requests

2 participants