mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2025-04-19 10:11:57 +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:
|
if r.status_code == 429:
|
||||||
# we are now being ratelimited, move on to the next user
|
# we are now being ratelimited, move on to the next user
|
||||||
|
print("Hit rate limit while scraping {}".format(handle))
|
||||||
done = True
|
done = True
|
||||||
else:
|
else:
|
||||||
j = r.json()
|
j = r.json()
|
||||||
|
|
Loading…
editor.table_modal.header
Reference in a new issue