Rohit
2010-Sep-10 12:15 UTC
A script to remove comments from specific users, a.k.a spammers
Hello, Lately LH has been experiencing a lot of spam comments. These are usually generated from specific users. Ryan Bigg was nice enough to write a script using mechanize to delete comments from specific users. I use it sometimes to delete the spam and in case I can''t get to it, please do use it to get rid of the spam comments. The script --> https://gist.github.com/53f8a67c0a8854b45a2c Also I had opened a ticket (now closed) on LH regarding the spam. Maybe they need more pestering to add more protection! :D The ticket here --> http://help.lighthouseapp.com/discussions/problems/1791-spammers-taking-over P.S It goes without saying that you need to be careful with the user id''s otherwise legitimate comments might get deleted! :) And also you need the authorization on Rails LH to delete comments for this script to work. ;) Cheers, Rohit Arondekar http://rohitarondekar.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.