Skip to content

Commit

Permalink
modify spam algorithm to catch prolific spammers who check their work.
Browse files Browse the repository at this point in the history
  • Loading branch information
rneiss committed Mar 25, 2022
1 parent 8fc40a0 commit 93abc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sefaria/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ def profile_spam_dashboard(request):
{'website': {"$ne": ""}, 'bio': {"$ne": ""}, "id": {"$gt": earliest_new_user_id},
"reviewed": {"$ne": True}},
{'bio': {"$regex": regex}, "id": {"$gt": earliest_new_user_id}, "reviewed": {"$ne": True}},
{'slug': {"$regex": spam_keywords_regex}, "id": {"$gt": earliest_new_user_id}, "reviewed": {"$ne": True}}
{'slug': {"$regex": spam_keywords_regex}, "id": {"$gt": earliest_new_user_id}, "reviewed": {"$ne": True}, "book": {"$ne": "Sheet"}}
]
})

Expand Down

0 comments on commit 93abc82

Please sign in to comment.