mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
warn about rate limit
This commit is contained in:
parent
be9685a881
commit
af1f8c6d8b
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ def scrape_posts(account):
|
|||
|
||||
if r.status_code == 429:
|
||||
# we are now being ratelimited, move on to the next user
|
||||
print("Hit rate limit while scraping {}".format(handle))
|
||||
done = True
|
||||
else:
|
||||
j = r.json()
|
||||
|
|
Loading…
Reference in a new issue