Connecting Tech Pros Worldwide Help | Site Map

How to harness information of the web

  #1  
Old October 21st, 2008, 10:17 PM
Newbie
 
Join Date: Oct 2008
Posts: 15
Hello Everyone,

I am not sure if I posting this to the right forum or not. So, I apologize before hand if this is not the forum for posting this question.

I want a script that would run weather in Windows or Linux that will gather the information of a website and save it in a file (maybe to a .xls file). I want to use a program because I want to search more than 1000s of pages. However, the good thing is that each page is identical to the other. For example, the program browses: http://www.xxxxxx.yyy/1.html and grabs a variable's content from inside and saves it to a file. Next it goes to: http://www.xxxxxx.yyy/2.html and does the same thing.

Can RUBY do this?

Thanks
  #2  
Old October 21st, 2008, 10:57 PM
Expert
 
Join Date: May 2007
Posts: 213

re: How to harness information of the web


Yep, you should be able to do this with Ruby. You will probably want open-uri, which will allow you to open and read a web page. Throw this in a loop, and you should be good to go.
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to harness information of the web scriptx answers 8 October 22nd, 2008 04:10 AM
How to harness information of the web scriptx answers 1 October 21st, 2008 11:51 PM
How to harness information of the web scriptx answers 1 October 21st, 2008 10:43 PM
How to bring subprocess to the foreground? dudeja.rajat@gmail.com answers 4 September 6th, 2008 08:25 PM