Re: scripting an interactive web page
Ken Foskey <[email protected]> Thu, 04 Mar 2010 09:22:13 +1100
| Newsgroups | gmane.org.user-groups.slug.chat |
|---|---|
| Message-ID | <1267654933.3647.3.camel@strider> |
On Tue, 2010-03-02 at 22:48 +1100, Voytek Eymont wrote: > I have access to a user/pswd authenticated web site, where, information > may or may not be present > > so, I need to log on, and see if any information is present. > > what can I use to auto check periodically, so, it can notify me if any > information is present? > > > > -- > Voytek > As suggested, curl will get the file for you and you have to interpret the file once retrieved. I have found the easiest solution to parsing HTML files is HTML::Parser in perl. You hook up a method to the reader and check where you are in the file then extract the data you want. Thanks Ken -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html