...

View Full Version : script to pull data



apps
08-21-2009, 07:19 PM
hi all
i m new to scripting and
i m looking for a script with with i can pull all the number from a web link
is it possibel to do so , if yes kindly help me how to do it

thanks

ralph l mayo
08-21-2009, 07:43 PM
Ruby:


require 'net/http'
require 'uri'
raise ArgumentError, 'Pass an URL as the first param, tia' unless ARGV[0]
puts Net::HTTP.get(URI.parse(ARGV[0])).gsub(/[^\d]/, '')

apps
08-22-2009, 10:41 AM
Ruby:


require 'net/http'
require 'uri'
raise ArgumentError, 'Pass an URL as the first param, tia' unless ARGV[0]
puts Net::HTTP.get(URI.parse(ARGV[0])).gsub(/[^\d]/, '')


thanks but not able to hunderstand as i m totally new to programing
can u provide help in details

apps
08-29-2009, 04:32 PM
thanks but not able to hunderstand as i m totally new to programing
can u provide help in details

hi anyone on this



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum