Friendster-scrape is a project mainly written in Shell, it's free.
Friendster archiving
http://www.archiveteam.org/index.php?title=Friendster