in reply to is there a way to convert firefox live http headers to mechanize commands

I use (and admittedly wrote) WWW::Mechanize::Firefox. But there is no way to convert the record of your interactions in Live Headers to a WWW::Mechanize(::Firefox) script that I'm aware of. Your best approach is to carefully record your interaction manually and write a program that replicates them.

  • Comment on Re: is there a way to convert firefox live http headers to mechanize commands

Replies are listed 'Best First'.
Re^2: is there a way to convert firefox live http headers to mechanize commands
by tmaly (Monk) on Oct 20, 2010 at 14:44 UTC

    My luck, just after I posted my question, I came across this script http://sourceforge.net/projects/lhhreplay/

    While it seems to be written for a unix platform seeing calls to rm, I can mod it for windows and I should be able to tell if it will work

    Best Regards
    Ty

      don't forget to change the options in the calls to unix commands to the proper options in windows ;)
      there are people in this world that get paid lots and only manage to change rm to del, and fail to see and won't even admit there's a difference...this is on a windows cygwin setup, sigh. anyway, if there's no software conflicts and you control the windows box, maybe install cygwin..so you can have some unix heaven on windows too.
      the hardest line to type correctly is: stty erase ^H