A question about rio and frames

Dear all,

while trying to download some website with open-uri, I am only getting
a
message that my browser doesn’t support frames, and that I should
download
some other website without frames, but if I download that one, nothing
different happens.
I am new to screen scraping, and I would definitely like to use plain
Ruby
rather
than Rails to do this.

My code is below:

require ‘rubygems’
require ‘rio’

open an URI and copy the content into a file

rio(‘http://www.math-jobs.com’) > rio(‘C:/math-jobs.html’)

changing the last line above to this one doesn’t help …

rio(‘Mathematics, Statistics & Data Science Jobs worldwide | Math-Jobs.com’) > rio(‘C:/math-jobs.html’)

On the website ‘http://www.math-jobs.com’, there are a lot of links -
how
could
these be retrieved ?

Thank you for your help,

Best regards,

Axel

unknown wrote:

require ‘rubygems’
require ‘rio’

open an URI and copy the content into a file

rio(‘http://www.math-jobs.com’) > rio(‘C:/math-jobs.html’)

changing the last line above to this one doesn’t help …

rio(‘Mathematics, Statistics & Data Science Jobs worldwide | Math-Jobs.com’) > rio(‘C:/math-jobs.html’)

rio(‘Mathematics, Statistics & Data Science Jobs worldwide | Math-Jobs.com’) > rio(‘test.html’)

This worked for me. Kubuntu, Ruby 1.8.4.