Created
January 1, 2010 00:56
-
-
Save yeco/266989 to your computer and use it in GitHub Desktop.
This file contains 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
curl -d 'track=bot' http://stream.twitter.com/track.json -ubotcualquiera:botpass > tweets.json 2> /dev/null & tail -f tweets.json | while read tweet; do echo $tweet | grep -E -o '"screen_name":"[[:alnum:]]+"' | cut -d '"' -f 4 | while read screen_name; do echo "siguiendo a: $screen_name"; curl -d '' http://twitter.com/friendships/create/$screen_name.json?follow=true -ubotcualquiera:botpass; done ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment