How to download cookies in ruby?

P

Phlip

chutsu said:
Hi
So I was trying to figure out how to download cookies in ruby, I know
how to use wget to do that:

wget \
--save-cookies ~/.cookies/rapidshare \
--post-data "login=USERNAME&password=PASSWORD" \
-O - \
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi \

But I would like to know ruby's equivalent, Thanks

Add watir, mechanize, webrat, or just "net::http" to your El Goog search terms!

Functional tests on HTTP, including cookies, is a well-explored area around here...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top