Skip to content

Instantly share code, notes, and snippets.

View deepflame's full-sized avatar

Andreas Böhrnsen deepflame

View GitHub Profile
@deepflame
deepflame / friendster_photo_grab.rb
Created September 25, 2010 11:59
Grabs all public photos from a friendster account ( www.friendster.com )
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'json'
require "cgi"
require 'fileutils'
def fdoc(rel_url)
Nokogiri::HTML(open("http://www.friendster.com#{rel_url}"))
end