Even though scrubyt deals with cookies from behind the scenes,
it would be really nice if we could save a cookie file after
running a login script and then running another scripts using the
same cookie file.
It could work like this:
@test1 = Scrubyt::Extractor.define :production do
... #login stuff goes here
end
@test1.save_cookies(cookies_path)
@test2 = Scrubyt::Extractor.define :production, :cookies =>
cookies_path do ... end
Is there a way to do something like this already? I think it
would be a great feature for this API, specially when working with
rails where you have to split the extractions between multiple
controller actions if you want to have any kind of human
interaction.