Here is an example of it, I am using curl to grab the last 5 links from a twitter page:
curl http://twitter.com/statuses/user_timeline/pastebinleaks.xml?count=5 -s| grep "" | sed 's/.*\(.*\)<\/text>.*/\1/' | grep -o "http://pastebin.* "
Just be careful, because i discovered that twitter only allows you to pull 150 tweets in an hour on some accounts.
No comments:
Post a Comment