I'm trying to parse a bunch of webpages from an adult website using Ruby:
require 'hpricot' require 'open-uri' doc = Hpricot(open('random page on an adult website'))
However, what I end up getting instead is that initial 'Site Agreement' page making sure that you're 18+, etc.
How do I get past the Site Agreement and pull the webpages I want? (If there's a way to do it, any language is fine.)