|
|
|
@ -231,7 +231,7 @@ def post_engagement_tweet(): |
|
|
|
|
|
|
|
|
|
|
|
try: |
|
|
|
try: |
|
|
|
print("Checking rate limit") |
|
|
|
print("Checking rate limit") |
|
|
|
if not check_author_rate_limit(author['username']): |
|
|
|
if not check_author_rate_limit(author): # Pass the full author dictionary |
|
|
|
print(f"Rate limit exceeded for {author['username']}") |
|
|
|
print(f"Rate limit exceeded for {author['username']}") |
|
|
|
logging.info(f"Rate limit exceeded for {author['username']}") |
|
|
|
logging.info(f"Rate limit exceeded for {author['username']}") |
|
|
|
sleep_time = 86400 # 1 day |
|
|
|
sleep_time = 86400 # 1 day |
|
|
|
|