Stories
Slash Boxes
Comments

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

petdance (2468)

petdance
  andy@petdance.com
http://www.perlbuzz.com/
AOL IM: petdance (Add Buddy, Send Message)
Yahoo! ID: petdance (Add User, Send Message)
Jabber: petdance@gmail.com

I'm Andy Lester, and I like to test stuff. I also write for the Perl Journal, and do tech edits on books. Sometimes I write code, too.

Journal of petdance (2468)

Sunday June 29, 2003
09:49 PM

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

[ #13142 ]
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=
  <NONAME>=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....

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.