3 ms·
curb is a lot faster than net/http require 'curb' c = Curl::Easy.perform("http://www.google.com http://www.google.com) puts c.body_str
by seanmccann 16y ago
curb is a lot faster than net/http
require 'curb'
c = Curl::Easy.perform("http://www.google.com http://www.google.com)
puts c.body_str
- nc 16y agoPremature optimization much?
- bdclimber14 16y agoSo apparently accessing a secure URL isn't straightforward... No login is required, its just an HTTPS but it won't go in curb.
- bdclimber14 16y agoWasn't an SSL problem but a cookie problem...
- bdclimber14 16y agoI wanted to thank you for your help. I wrote a script to scrape over 30,000 courses and textbooks from Arizona State University successfully in a couple days.