------ art_90759_23637259.1181467609471
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi there,
I'm trying to get data from a couple of websites at the same time by using:
(1..10).each { |p| print p} # should get the content from the pages with
the id's 1 to 10...
# load the Securityfocus home page (id 1 to start)
doc pricot(open("http://www.securityfocus.com/bid/1<http://www.securityfocus.com/bid/715>
"))
# get the content of the div id ulnerability"
p
oc/'#vulnerability').inner_html
# prints div id vulnerability'
puts p
Must I use an array?
Thanks,
Tom
------ art_90759_23637259.1181467609471--