Browse files

clearing out 'ass'

  • Loading branch information...
1 parent fc31496 commit a6b999cf57b2f9a6c49948b77554fbb5152faf9f @lachlanhardy committed Sep 7, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.rb
@@ -33,7 +33,7 @@
# load all the new tweets into the DB
while true do
- @search ='"tony abbott" shit OR fuck OR cunt OR ass OR arse OR arsehole OR prick OR bastard')
+ @search ='"tony abbott" shit OR fuck OR cunt OR arse OR arsehole OR prick OR bastard')
# 20 per page - twitter docs say 100, but seems to be less, so we
# cover our bases for pagination. this pagination method also leaves
# a small possibility of duplicates, but it's not a big deal.
@@ -60,7 +60,7 @@
gsub(/((ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?)/i, '<a href="\1">\1</a>').
gsub(/(@\w[a-z]+)(\s|\S)/i, '<a href="\1">\1</a>').
gsub(/(Tony Abbott\W?)/i, '<strong>\1</strong>').
- gsub(/(fuck\W|fucking\W|fucked\W|shit\W|ass\W|arse\W|arsehole\W|prick\W|bastard\W|cunt\W)/i, '<em>\1</em>')
+ gsub(/(fuck\W|fucking\W|fucked\W|shit\W|arse\W|arsehole\W|prick\W|bastard\W|cunt\W)/i, '<em>\1</em>')
puts "This was blacklisted: #{item[:content]}"

0 comments on commit a6b999c

Please sign in to comment.