diff --git a/apps/rss_feeds/models.py b/apps/rss_feeds/models.py index 4b6855044..cfd1eb290 100644 --- a/apps/rss_feeds/models.py +++ b/apps/rss_feeds/models.py @@ -1311,7 +1311,10 @@ class Feed(models.Model): continue elif story.get('guid') == existing_story.story_guid: story_in_system = existing_story - + elif (existing_story.story_guid in new_story_guids and + story.get('guid') != existing_story.story_guid): + # Story coming up later + continue # Title distance + content distance, checking if story changed story_title_difference = abs(levenshtein_distance(story.get('title'), existing_story.story_title))