diff --git a/find_posts.py b/find_posts.py index 2ed7da2..b0044be 100644 --- a/find_posts.py +++ b/find_posts.py @@ -170,7 +170,7 @@ def add_post_with_context(post, server, access_token, seen_urls): added = add_context_url(post['url'], server, access_token) if added is True: seen_urls.add(post['url']) - if arguments.backfill_with_context: + if (post['replies_count'] or post['in_reply_to_id']) and arguments.backfill_with_context: parsed_urls = {} parsed = parse_url(post['url'], parsed_urls) if parsed == None: