Barely-new WWW::Mechanize, with a handy tool for Mechers

petdance on 2003-06-30T02:49:29

The new WWW::Mechanize is out, and it's not much of an improvement in the module, but for those of you who are mucking about in the forms you're meching all the time, I added a utility called "mech-forms". To wit:

$ mech-forms http://www.altavista.com GET http://www.altavista.com/r r= (hidden) q= (hidden) avkw=xytx (hidden)

GET http://www.altavista.com/web/results q= =FIND (submit) kgs=0 (radio) [*0|1] kls=1 (radio) [0|*1] avkw=xytx (hidden)



Makes scraping much easier to not have to dig thru HTML....