provide a saving and loading session cookies feature
Reported by gcosta | July 20th, 2009 @ 11:04 PM
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.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A simple to learn and use, yet powerful web scraping toolkit written in Ruby.