intelligent internet agents

Page Caching
August 11, 2009, 7:33 am
Filed under: crawl, engine, software | Tags: , ,

Note: This does not work. Only the pointer to the object gets marshaled, not the object itself.

require "rubygems"
require "celerity"

browser = :browser => :firefox, :log_level => :off


browser.resynchronized do, "News").click
end"#{Dir.pwd}/monster.dmp", 'w') do |f|
end"#{Dir.pwd}/monster.dmp", 'r') do |f| = Marshal.load(f)

puts browser.url

see also


Leave a Comment so far
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: