Handle Maigret Site Rate Limits Gracefully

Some providers cap anonymous traffic. Maigret lets you dial down concurrency and add pauses so scans still complete.

Quick adjustments

maigret username \
  --max-connections 20 \
  --timeout 60 \
  --retries 3 \
  --pause 1.5

Settings explained:

  • --max-connections: limit simultaneous requests.
  • --timeout: allow slower responses when backed up.
  • --retries: retry transient 429/5xx responses.
  • --pause: add seconds between batch launches.

Rotating proxies

ALL_PROXY="socks5://127.0.0.1:9050" \
maigret username --proxy socks5://127.0.0.1:9050

Or plug into a managed pool:

maigret username --proxy http://user:pass@rotating-proxy.example:8080 --pause 2

Respect crawl delays

Check the robots.txt of each site. If a service specifies Crawl-delay: 5, set --pause 5 to align.

Observe backoff signals

  sequenceDiagram
    participant M as Maigret
    participant S as Target Site
    M->>S: GET /username
    S-->>M: HTTP 429
    M->>M: wait exponential backoff
    M->>S: Retry after headers
    S-->>M: HTTP 200 or 429

Repeated 429s mean you should pause longer or disable the site via maigret --self-check --site Target.

Logging advice

  • Add --debug to inspect headers for Retry-After values.
  • Aggregate logs across runs to identify chronic offenders.
  • Consider scheduling scans off-peak when services are less busy.

Following the site’s published limitations keeps your OSINT activity sustainable.