Dig the new addition to the right side of my main blog page... I wrote a scraper for friendster that'll log me in, and update an image with my current "you are connected to" number.
it's currently .
the guts look kinda like this:
echo "---- friendster thing ----"
echo "enter your username: (email address)"
echo "enter your password: "
#### the above junk can be deleted and hardcoded here like this:
#### (uncomment these lines for that functionality
/usr/bin/curl -si -D /tmp/cookiejar1 -d email=$USER -d password=$PASS http://www.friendster.com/login > /dev/null
/usr/bin/curl -si -b /tmp/cookiejar1 http://www.friendster.com/home.jsp \
| grep connected \
| grep people \
| perl -pe 's/.* to .b.(.*)..b. people in/\1/'