add reddit threshold

main
Shane 7 months ago
parent 0a333f5be5
commit 555fe4799f
  1. 5
      foodie_automator_reddit.py

@ -368,6 +368,11 @@ def curate_from_reddit(posted_titles_data, posted_titles, used_images_data, used
attempts += 1
continue
if upvotes < 300:
logging.info(f"Skipping post '{title}' due to insufficient upvotes ({upvotes} < 300)")
attempts += 1
continue
author = get_next_author_round_robin()
if not author:
logging.info(f"Skipping post '{title}' due to tweet rate limits for all authors")

Loading…
Cancel
Save