From: Philip Mak Date: 2002-06-25T16:38:48+09:00 Subject: Re: Q: download html file and parse it On Tue, Jun 25, 2002 at 04:32:50PM +0900, kwatch wrote: > ..1) connect http server and get a html file You can use Net::HTTP. Some documentation for it can be found here: http://www.rubycentral.com/book/lib_network.html Search for "Net::HTTP" in that page (it's about halfway down). > ..2) parse a http file to retrieve infromation from it Here's a Ruby module that parses HTML. There may be others (look in the Ruby Application Archive): http://www.ruby-lang.org/en/raa-list.rhtml?name=html-parser > # I want to automate my routine work. Assuming you're on a UNIX system, make a cron job that periodically runs your ruby script.