I would like to be able to write scripts like this:

        load "http://apc-reset/outlets.htm";
        find "yoshimi"
        nearest option, set "Immediate Reboot"
        submit

or like this:

        load "http://www.fedex.com/Tracking";
        find form
        enter "792544024753"
        submit
        
        if (find "No information") {
           select enclosing td
           print
        } else if (find "Ship date") {
           select enclosing table
           select enclosing table
           print
        } else {
           print ">>> Unexpected Results\n"
           print
        }

Does anyone know of programs/languages that let you
script web sessions like that?  Searching around finds lots
of mentions of web scraping but no actual programs.

I have a rough idea of the general structure of the language
and grammar, and I think that libhtml does most of the
heavy lifting already.

Anyone interested in working on this?

Russ

Reply via email to