Jaime Iniesta wrote: > 2007/8/27, John Joyce <dangerwillrobinsondanger / gmail.com>: >> That's not to prevent web scraping, it's just that web sites are >> pretty transitory. They change all the time and very easily. This >> makes web sophisticated web scraping a moving target. > > Yes, web scraping using just open-uri and regular expressions is > pretty low-level. > > Try Hpricot or scRUBYt for a higher level, more flexible, scraping. So I was trying out what everyone said and I got it to work. Here is what I did. page_content.scan(/<a href=\"([^"]*?)\" class=l[^"]*?/).flatten -- Posted via http://www.ruby-forum.com/.