From: Dejan Tolj Date: 2010-10-15T03:06:51+09:00 Subject: Re: win32ole IE Thanks for the snippet and alternative solution. On Thu, Oct 14, 2010 at 1:40 PM, arton wrote: > Hi > > I could get the code by > ie.document.getElementsByTagName('pre').item(0).innerHTML > > but at this case, I recomend you to use open-uri, it's more simple and > fast and not depend on Windows. > > ex) > require 'open-uri' > csv = nil > open('http://maps.google.com/maps/geo?q=123+main+street+ottawa+canada&output=csv') do |http| >  csv = http.read > end > puts "geo_code=#{csv}" > > -- > arton > > -------------------------------------- > Learn more about breast cancer - Pink Ribbon Campaign 2010 > http://yj.pn/JAy9L7 > >