Skip to content

Commit

Permalink
Harsher rate limit for Twitter scraper
Browse files Browse the repository at this point in the history
Related to #976
  • Loading branch information
Yomguithereal committed Jul 5, 2024
1 parent 31549cb commit aabc984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minet/twitter/api_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,8 @@ def __init__(self, cookie: str):
timeout=TWITTER_PUBLIC_API_DEFAULT_TIMEOUT, spoof_tls_ciphers=True
)

# NOTE: 10 calls per minute
self.rate_limiter_state = RateLimiterState(10, 60)
# NOTE: 5 calls per minute
self.rate_limiter_state = RateLimiterState(5, 60)

# self.reset()

Expand Down

0 comments on commit aabc984

Please sign in to comment.