Created
February 22, 2012 05:10
-
-
Save morygonzalez/1881614 to your computer and use it in GitHub Desktop.
キモトさんをフィルターするやつ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #-*- coding: utf-8 -*- | |
| Earthquake.init do | |
| output_filter do |item| | |
| next unless item["source"] =~ /キモトタクミ/ | |
| if item["user"]["screen_name"] == "bulkneets" | |
| item["user"]["screen_name"] = "kimoto_" | |
| item["user"]["profile_image_url"] = "http://a1.twimg.com/profile_images/57879822/TOKEI_glitch_normal.jpg" | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment