From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 7 Oct 2005 03:01:01 -0400 From: Russ Cox To: 9fans <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [9fans] webscript Topicbox-Message-UUID: 957210c8-ead0-11e9-9d60-3106f5b1d025 I would like to be able to write scripts like this: =09load "http://apc-reset/outlets.htm" =09find "yoshimi" =09nearest option, set "Immediate Reboot" =09submit or like this: =09load "http://www.fedex.com/Tracking" =09find form =09enter "792544024753" =09submit =09 =09if (find "No information") { =09 select enclosing td =09 print =09} else if (find "Ship date") { =09 select enclosing table =09 select enclosing table =09 print =09} else { =09 print ">>> Unexpected Results\n" =09 print =09} 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